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

Documentation bug: Add information for key.serializer and value.serializer to New Producer Config sections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None

    Description

      As key.serializer and value.serializer are required options when using the new producer, they should be mentioned in the documentation ( here and svn http://kafka.apache.org/documentation.html#newproducerconfigs )

      Appropriate values for these options exist in javadoc and producer.java examples; however, not everyone is reading those, as is the case for anyone setting up a producer.config file for mirrormaker.

      A sensible default should be suggested, such as
      org.apache.kafka.common.serialization.StringSerializer
      Or at least a mention of the key.serializer and value.serializer options along with a link to javadoc

      Thanks

      Attachments

        1. KAFKA-2412-r1.diff
          8 kB
          Grayson Chao
        2. KAFKA-2412.diff
          8 kB
          Grayson Chao

        Activity

          People

            gchao Grayson Chao
            jfields Jeremy Fields
            Gwen Shapira Gwen Shapira
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: