Skip to content

Commit

Permalink
KAFKA-2538: Fixing a compilation error in trunk.
Browse files Browse the repository at this point in the history
Author: Parth Brahmbhatt <[email protected]>

Reviewers: Guozhang Wang

Closes apache#208 from Parth-Brahmbhatt/KAFKA-2538
  • Loading branch information
Parth-Brahmbhatt authored and guozhangwang committed Sep 13, 2015
1 parent 65bf3af commit b7d4043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/kafka/tools/EndToEndLatency.scala
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ object EndToEndLatency {
val producer = new KafkaProducer[Array[Byte], Array[Byte]](producerProps)

def finalise() {
consumer.commit(CommitType.SYNC)
consumer.commitSync()
producer.close()
consumer.close()
}
Expand Down

0 comments on commit b7d4043

Please sign in to comment.