Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> produce request wire format question

Copy link to this message
Re: produce request wire format question
No. In 0.8, if you don't specify a key for a message, it is sent to any of
the available partitions. In other words, the partition id is selected on
the partition and the server doesn't get -1 as the partition id.

On Tue, May 21, 2013 at 9:54 AM, Dave Peterson <[EMAIL PROTECTED]>wrote:

> In the version 0.8 wire format for a produce request, does a value of -1
> still indicate "use a random partition" as it did for 0.7?
> Thanks,
> Dave