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

New producer hardcodes key and value serializers to ByteArray

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.10.2.0
    • Fix Version/s: None
    • Component/s: producer , tools
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: