kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Broker ID
Date Fri, 09 Dec 2011 17:37:17 GMT
Florian,

The broker id uniquely identifies a broker. Every time a broker is
restarted, we want the broker to come up with the same id. The consumer
relies on the broker id to resume consumption properly.

Thanks,

Jun

On Fri, Dec 9, 2011 at 8:34 AM, Florian Leibert <flo@leibert.de> wrote:

> Hi -
> I see there's a static broker-id in the properties files. Is this optional?
> When using Zookeeper, couldn't ZK just give each broker if registered as a
> SEQ node a generated ID that's guaranteed to be unique? Otherwise can this
> ID be a randomly generated ID? Basically I'd like to bring up instances in
> EC2 without having to worry about the state of other brokers...
>
> Thanks!
> Flo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message