Re: Callback Record Key

2016-02-11 Thread Franco Giacosa
Thanks Damian. 2016-02-11 12:01 GMT+01:00 Damian Guy : > Hi, > Pass the key into the callback you provide to kafka. You then have it > available when the callback is invoked. > > Cheers, > Damian > > On 11 February 2016 at 10:59, Franco Giacosa wrote: > > > Hi, > > > > Is there a way to get the

Re: Callback Record Key

2016-02-11 Thread Damian Guy
Hi, Pass the key into the callback you provide to kafka. You then have it available when the callback is invoked. Cheers, Damian On 11 February 2016 at 10:59, Franco Giacosa wrote: > Hi, > > Is there a way to get the record key on the callback of the send() for a > record? I would like to be ab

Callback Record Key

2016-02-11 Thread Franco Giacosa
Hi, Is there a way to get the record key on the callback of the send() for a record? I would like to be able to identify for which of the Records that I have sent is the callback so I can ACK on the db that the record landed successfully in kafka. I am using 0.9.0. Thanks.