Is it at least possible to see which broker a message is sent to? I'm using a Zookeeper based
producer and we have multiple brokers in our environment. If I can tell which broker a message
is sent to, that would be a big help.
________________________________________
From: Jun Rao [junrao@gmail.com]
Sent: Monday, December 10, 2012 11:07 AM
To: users@kafka.apache.org
Subject: Re: Logging which broker a message was sent to
If you use -1 (ie, a random partition) as the partition #, there is no easy
way to know which partition that the broker picks. However, you can
explicitly specify the partition # in the request itself.
Thanks,
Jun
On Mon, Dec 10, 2012 at 7:26 AM, Sybrandy, Casey <
Casey.Sybrandy@six3systems.com> wrote:
> Is it possible to log/see which broker, and perhaps partition, a producer
> sent a message to? I'm using the SyncProducer if that matters.
>
|