kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: KAFKA-2538: Fixing a compilation error in trunk.
Date Sun, 13 Sep 2015 04:55:35 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 65bf3afe8 -> b7d4043d8


KAFKA-2538: Fixing a compilation error in trunk.

Author: Parth Brahmbhatt <brahmbhatt.parth@gmail.com>

Reviewers: Guozhang Wang

Closes #208 from Parth-Brahmbhatt/KAFKA-2538


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/b7d4043d
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/b7d4043d
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/b7d4043d

Branch: refs/heads/trunk
Commit: b7d4043d8da1d296519faf321e9f0f7188d7d67a
Parents: 65bf3af
Author: Parth Brahmbhatt <brahmbhatt.parth@gmail.com>
Authored: Sat Sep 12 21:58:34 2015 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Sat Sep 12 21:58:34 2015 -0700

----------------------------------------------------------------------
 core/src/main/scala/kafka/tools/EndToEndLatency.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/b7d4043d/core/src/main/scala/kafka/tools/EndToEndLatency.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/tools/EndToEndLatency.scala b/core/src/main/scala/kafka/tools/EndToEndLatency.scala
index cbaed0a..eb2a75c 100755
--- a/core/src/main/scala/kafka/tools/EndToEndLatency.scala
+++ b/core/src/main/scala/kafka/tools/EndToEndLatency.scala
@@ -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()
     }


Mime
View raw message