You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2016/04/26 20:46:29 UTC
kafka git commit: MINOR: Fix zk path in KafkaHealthCheck comment
Repository: kafka
Updated Branches:
refs/heads/trunk 1a73629bb -> fbac525c0
MINOR: Fix zk path in KafkaHealthCheck comment
Author: Stig <st...@linux-pr4q.suse>
Reviewers: Ismael Juma <is...@juma.me.uk>
Closes #1182 from srdo/comment-fix
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/fbac525c
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/fbac525c
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/fbac525c
Branch: refs/heads/trunk
Commit: fbac525c08d54a26248eb8f9a5f7d3d053f99bd4
Parents: 1a73629
Author: Stig <st...@linux-pr4q.suse>
Authored: Tue Apr 26 11:46:03 2016 -0700
Committer: Ismael Juma <is...@juma.me.uk>
Committed: Tue Apr 26 11:46:03 2016 -0700
----------------------------------------------------------------------
core/src/main/scala/kafka/server/KafkaHealthcheck.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/fbac525c/core/src/main/scala/kafka/server/KafkaHealthcheck.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/server/KafkaHealthcheck.scala b/core/src/main/scala/kafka/server/KafkaHealthcheck.scala
index 2598e6d..4e3fc29 100644
--- a/core/src/main/scala/kafka/server/KafkaHealthcheck.scala
+++ b/core/src/main/scala/kafka/server/KafkaHealthcheck.scala
@@ -30,7 +30,7 @@ import org.apache.zookeeper.Watcher.Event.KeeperState
/**
* This class registers the broker in zookeeper to allow
* other brokers and consumers to detect failures. It uses an ephemeral znode with the path:
- * /brokers/[0...N] --> advertisedHost:advertisedPort
+ * /brokers/ids/[0...N] --> advertisedHost:advertisedPort
*
* Right now our definition of health is fairly naive. If we register in zk we are healthy, otherwise
* we are dead.