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

Console Producer / Consumer's serde config is not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Although in the console producer one can specify the key value serializer, they are actually not used since 1) it always serialize the input string as String.getBytes (hence always pre-assume the string serializer) and 2) it is actually only passed into the old producer. The same issues exist in console consumer.

      In addition the configs in the console producer is messy: we have 1) some config values exposed as cmd parameters, and 2) some config values in --producer-property and 3) some in --property.

      It will be great to clean the configs up in both console producer and consumer, and put them into a single --property parameter which could possibly take a file to reading in property values as well, and only leave --new-producer as the other command line parameter.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgharat Mayuresh Gharat
                Reporter:
                guozhang Guozhang Wang
              • Votes:
                1 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: