Re: sending data to a different partitions of the output stream

2015-04-07 Thread Vladimir Lebedev
Great, passing partition number as a partition key is enough for my needs. Many thanks, Tommy! On 04/07/2015 02:46 PM, Tommy Becker wrote: If you want to send to a specific partition number, you can just pass that number as the partition key. This works because the default partitioner is via

Re: sending data to a different partitions of the output stream

2015-04-07 Thread Tommy Becker
If you want to send to a specific partition number, you can just pass that number as the partition key. This works because the default partitioner is via hashcode, and the hash of integers is the value itself. On 04/07/2015 07:40 AM, Vladimir Lebedev wrote: Hey, I can not find clear explanati