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

Switch to Threaded View
Kafka >> mail # user >> kafka key serializer

Copy link to this message
Re: kafka key serializer
It will use DefaultEncoder.


On Wed, Apr 10, 2013 at 8:27 AM, Soby Chacko <[EMAIL PROTECTED]> wrote:
> If I don't provide an explicit key serializer but a serializer class (for
> value encoding),  and then use a key in KeyedMessage, what will be the
> encoder used for key? Is it going to default to the same encoder used for
> value or the DefaultEncoder?
> Thanks,
> Soby Chacko