You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2015/09/09 02:49:45 UTC

[jira] [Created] (KAFKA-2526) Console Producer / Consumer's serde config is not working

Guozhang Wang created KAFKA-2526:
------------------------------------

             Summary: Console Producer / Consumer's serde config is not working
                 Key: KAFKA-2526
                 URL: https://issues.apache.org/jira/browse/KAFKA-2526
             Project: Kafka
          Issue Type: Bug
            Reporter: Guozhang Wang
             Fix For: 0.9.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)