For what it's worth we ended up using the last octet of the IP as the
broker id. Global sequential or UUID would be the most foolproof methods.
You are correct that the broker id does not affect how data is distributed.
On 05/31/2012 04:44 PM, xiaoyu wang wrote:
> I am setting up a kafka cluster and want to use our unique id generation
> algorithm to generate broker id. The algorithm will generate an id between
> 1000-4000. Is it OK? Based on my understanding, broker id does not affect
> how data is distributed within the cluster. Is it correct?