You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Paolo Patierno (JIRA)" <ji...@apache.org> on 2017/06/09 15:47:18 UTC
[jira] [Created] (KAFKA-5420) Console producer --key-serializer and
--value-serializer are always overwritten by ByteArraySerializer
Paolo Patierno created KAFKA-5420:
-------------------------------------
Summary: 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)