But how can I know which broker is working fine at run time. Anyways but I am looking how API flow at Kafka side. Can you please share any link which explain this. Thanks for your response.
-----Original Message----- From: "黄刚" <gang.hu...@dmall.com> Sent: 19-10-2015 05:48 PM To: "users" <users@kafka.apache.org> Subject: Re: How Kafka work internally? The broker is working normally. 原始邮件 发件人:Kiran singhkim.sing...@gmail.com 收件人:usersus...@kafka.apache.org 发送时间:2015年10月19日(周一) 20:00 主题:Re: How Kafka work internally? What mean by healthy broker? On Mon, Oct 19, 2015 at 5:26 PM, 黄刚 gang.hu...@dmall.com wrote: you don’t need the full broker list for “metadata.broker.list”, one healthy broker will get metadata from zk, and then return to the produce client. 原始邮件 发件人:Kiran singhkim.sing...@gmail.com 收件人:usersus...@kafka.apache.org 发送时间:2015年10月19日(周一) 19:43 主题:How Kafka work internally? Hi I am using producer API to send data to a topic. For this I am using "metadata.broker.list" to specify my broker list and i am able to send data successfully. But i am looking for how Kafka server handle a producer API means 1. which broker act as a coordinator for the send request. As we know only partition leader has the permission to write message into a partition. But if i have topic with partition 3 and in my "metadata.broker.list" i am pass only one broker details, even then i am able to send my message. 2. Every send request will hit one broker in the list or Kafka use some kind of load balancing to handle send request. Thanks Kiran Singh