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.sybra...@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. >