[ 
https://issues.apache.org/jira/browse/KAFKA-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swapnil Ghike updated KAFKA-324:
--------------------------------

    Attachment: kafka-324.patch

For negative broker id, it should say the following.

java.lang.IllegalArgumentException: requirement failed: The broker Id must be 
non-negative.
        at scala.Predef$.require(Predef.scala:145)
        at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:36)
        at kafka.Kafka$.main(Kafka.scala:38)
        at kafka.Kafka.main(Kafka.scala)

                
> enforce broker.id to be a non-negative integer
> ----------------------------------------------
>
>                 Key: KAFKA-324
>                 URL: https://issues.apache.org/jira/browse/KAFKA-324
>             Project: Kafka
>          Issue Type: Improvement
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>              Labels: bugs, replication
>         Attachments: kafka-324.patch
>
>
> In DefaultEventHandler, it seems that we rely on the fact that broker.id is a 
> non-negative integer. However, we don't enforce that in broker startup. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to