> On Nov. 23, 2014, 8:35 p.m., Neha Narkhede wrote:
> > core/src/main/scala/kafka/common/GenerateBrokerIdException.scala, line 23
> > <https://reviews.apache.org/r/23702/diff/7/?file=771299#file771299line23>
> >
> >     Given InconsistentBrokerIdException, looks like we don't need this.

GenerateBrokerIdException can be used if the zookeeper sequence Id generation 
failed and InconsistentBrokerIdException is when the broker.id store in 
meta.properties is not equals across log.dirs and also used when a generate 
broker.id doesn't equals configured broker.id .


- Sriharsha


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23702/#review62737
-----------------------------------------------------------


On Nov. 20, 2014, 6:50 p.m., Sriharsha Chintalapani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23702/
> -----------------------------------------------------------
> 
> (Updated Nov. 20, 2014, 6:50 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1070
>     https://issues.apache.org/jira/browse/KAFKA-1070
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> KAFKA-1070. Auto-assign node id.
> 
> 
> Diffs
> -----
> 
>   core/src/main/scala/kafka/common/GenerateBrokerIdException.scala 
> PRE-CREATION 
>   core/src/main/scala/kafka/common/InconsistentBrokerIdException.scala 
> PRE-CREATION 
>   core/src/main/scala/kafka/server/KafkaConfig.scala 
> 6e26c5436feb4629d17f199011f3ebb674aa767f 
>   core/src/main/scala/kafka/server/KafkaServer.scala 
> 1bf7d10cef23a77e716666eb16bf6d0e68bc4ebe 
>   core/src/main/scala/kafka/utils/Utils.scala 
> 23aefb4715b177feae1d2f83e8b910653ea10c5f 
>   core/src/main/scala/kafka/utils/ZkUtils.scala 
> 56e3e88e0cc6d917b0ffd1254e173295c1c4aabd 
>   core/src/test/scala/unit/kafka/server/ServerGenerateBrokerIdTest.scala 
> PRE-CREATION 
>   core/src/test/scala/unit/kafka/utils/TestUtils.scala 
> 0da774d0ed015bdc0461b854e3540ee6e48d1838 
> 
> Diff: https://reviews.apache.org/r/23702/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sriharsha Chintalapani
> 
>

Reply via email to