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

Switch to Plain View
Kafka, mail # user - kafka key serializer


+
Soby Chacko 2013-04-10, 15:28
Copy link to this message
-
Re: kafka key serializer
Neha Narkhede 2013-04-10, 18:00
It will use DefaultEncoder.

Thanks,
Neha

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

 
+
Soby Chacko 2013-04-12, 15:34
+
Neha Narkhede 2013-04-12, 15:39
+
Soby Chacko 2013-04-12, 16:12
+
Neha Narkhede 2013-04-12, 16:21