Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> Review Request 23702: Patch for KAFKA-1070


Copy link to this message
-
Re: Review Request 23702: Patch for KAFKA-1070

if the user didn't provide a brokerId in server.properties I am setting config.brokerId=-1 in KafkaConfig and in KafkaServer I check and generate a new sequence id from zookeeper assign it to config.brokerId.
If this line at the start of the class it won't get the newly generated sequenceId.
ex:
 [Kafka Server -1], started (kafka.server.KafkaServer)
 New leader is 1001 (kafka.server.ZookeeperLeaderElector$LeaderChangeListener)
 [Kafka Server -1], shut down completed (kafka.server.KafkaServer)
- Sriharsha
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23702/#review48598
On July 22, 2014, 6:34 p.m., Sriharsha Chintalapani wrote: