[ 
https://issues.apache.org/jira/browse/KAFKA-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jay Kreps resolved KAFKA-678.
-----------------------------

    Resolution: Fixed

Instead we are removing serializers altogether.

> We should default to NullEncoder for producer
> ---------------------------------------------
>
>                 Key: KAFKA-678
>                 URL: https://issues.apache.org/jira/browse/KAFKA-678
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.0
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>
> Currently we default to using whatever serializer you set for your value to 
> also work for your key. This works if the serializer is of a generic sort 
> (Avro, Java serialization, etc) and both key and value map into this. However 
> if you have a custom serializer this is not the right thing to do.
> I think it would be better to default this to NullEncoder which defaults to 
> maintain the pre-0.8 behavior of not retaining the key.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to