Thanks for the reference. But it doesn't seem to cover how a particular topic is assigned to a particular broker and also how the replicas are chosen. For eg if I have brokers A B C D and E what algorithm is used to assign a topic X and partition 1 to brokers B D and E if the chosen replication factor is 3. Is this information persisted somewhere? Sorry just getting my feet wet.
On Mon, Apr 13, 2015 at 11:57 AM, Jiangjie Qin <j...@linkedin.com.invalid> wrote: > A quick reference. > http://www.slideshare.net/junrao/kafka-replication-apachecon2013 > > > On 4/12/15, 11:36 PM, "Bill Hastings" <bllhasti...@gmail.com> wrote: > > >Hi Guys > > > >How do topics get assigned to brokers? I mean if I were to create a topic > >X > >and publish to it how does Kafka assign the topic and the message to a > >particular broker? If I have create a topic with say 10 partitions how > >does > >kafka assign each partition to a different broker? > > > >-- > >Cheers > >Bill > > -- Cheers Bill