Yeva Byzek created KAFKA-5149:
---------------------------------

             Summary: 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


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)

Reply via email to