Re: 'simple' partitioning in 0.8
Partitioning is independent of serialization. The key data is serialized
using the serializer specified through the "key.serializer.class" property
in the Producer. It defaults to a no-op encoder if you don't specify one.
Here, since you want to use an integer key, you'd have to plug in an
Encoder that can serialize integer data to a byte array.
On Mon, Feb 25, 2013 at 11:50 AM, Chris Curtin <[EMAIL PROTECTED]>wrote: