Hi Rajiv,

You can send messages without keys. Just provide null for key.

Jiangjie (Becket) Qin


On 12/19/14, 10:14 AM, "Rajiv Kurian" <ra...@signalfuse.com> wrote:

>Hi all,
>
>I was wondering what why every ProducerRecord sent requires a serialized
>key. I am using kafka, to send opaque bytes and I am ending up creating
>garbage keys because I don't really have a good one.
>
>Thanks,
>Rajiv

Reply via email to