Skip to content

Commit

Permalink
Moving java files to src/main/java
Browse files Browse the repository at this point in the history
  • Loading branch information
nehanarkhede committed Aug 1, 2011
1 parent 709afe4 commit be7bc44
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/scala/kafka/tools/ReplayLogProducer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import kafka.message.{CompressionCodec, Message, MessageSet, FileMessageSet}

object ReplayLogProducer {

private val GROUPID: String = "replay-log-producer"
private val GroupId: String = "replay-log-producer"
private val logger = Logger.getLogger(getClass)

def main(args: Array[String]) {
Expand All @@ -28,12 +28,12 @@ object ReplayLogProducer {
val allDone = new CountDownLatch(config.numThreads)

// if there is no group specified then avoid polluting zookeeper with persistent group data, this is a hack
tryCleanupZookeeper(config.zkConnect, GROUPID)
tryCleanupZookeeper(config.zkConnect, GroupId)
Thread.sleep(500)

// consumer properties
val consumerProps = new Properties
consumerProps.put("groupid", GROUPID)
consumerProps.put("groupid", GroupId)
consumerProps.put("zk.connect", config.zkConnect)
consumerProps.put("consumer.timeout.ms", "10000")
consumerProps.put("autooffset.reset", OffsetRequest.SmallestTimeString)
Expand Down

0 comments on commit be7bc44

Please sign in to comment.