Jay Kreps created KAFKA-678:
-------------------------------
Summary: 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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira