Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5149

New producer hardcodes key and value serializers to ByteArray

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.10.2.0
    • None
    • producer , tools

    Description

      New producer hardcodes the serializers:

        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")
      

      And thus cannot be overridden from the commandline argument -key-serializer or -value-serializer

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              yevabyzek Yeva Byzek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: