[ https://issues.apache.org/jira/browse/KAFKA-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115608#comment-13115608 ]
Jun Rao commented on KAFKA-3: ----------------------------- I vote for the second approach. The API is simpler and is consistent between java and scala. > Consumer needs a pluggable decoder > ---------------------------------- > > Key: KAFKA-3 > URL: https://issues.apache.org/jira/browse/KAFKA-3 > Project: Kafka > Issue Type: Improvement > Attachments: KAFKA-3_v1.patch > > > Kafka producer allows a user to plug in an encoder (from type T to Message). > We need to do the same thing on the consumer side, by allowing a user to plug > in a decoder (from Message to type T). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira