You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2017/05/09 22:13:04 UTC

[jira] [Comment Edited] (KAFKA-5149) New producer hardcodes key and value serializers to ByteArray

    [ https://issues.apache.org/jira/browse/KAFKA-5149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003649#comment-16003649 ] 

Bharat Viswanadham edited comment on KAFKA-5149 at 5/9/17 10:12 PM:
--------------------------------------------------------------------

Closing this Jira as a duplicate of KAFKA-2526 from [~junrao] comments


was (Author: bharatviswa):
Closing this Jira as a duplicate of KAFKA-2526

> New producer hardcodes key and value serializers to ByteArray
> -------------------------------------------------------------
>
>                 Key: KAFKA-5149
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5149
>             Project: Kafka
>          Issue Type: Bug
>          Components: producer , tools
>    Affects Versions: 0.10.2.0
>            Reporter: Yeva Byzek
>            Assignee: Bharat Viswanadham
>              Labels: newbie
>
> New producer hardcodes the serializers:
> {noformat}
>   props.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, "org.apache.kafka.common.serialization.ByteArraySerializer")
>     props.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, "org.apache.kafka.common.serialization.ByteArraySerializer")
> {noformat}
> And thus cannot be overridden from the commandline argument {{--key-serializer}} or {{--value-serializer}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)