[
https://issues.apache.org/jira/browse/KAFKA-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paolo Patierno resolved KAFKA-5420.
-----------------------------------
Resolution: Duplicate
Duplicate of KAFKA-2526
> Console producer --key-serializer and --value-serializer are always
> overwritten by ByteArraySerializer
> ------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-5420
> URL: https://issues.apache.org/jira/browse/KAFKA-5420
> Project: Kafka
> Issue Type: Bug
> Components: tools
> Reporter: Paolo Patierno
> Priority: Minor
>
> Hi,
> the --key-serializer and --value-serializer options passed to the command
> line are always overwritten here :
> {code}
> 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")
> {code}
> in the getNewProducerProps() method.
> Thanks,
> Paolo.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)