You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Alex Collins (Jira)" <ji...@apache.org> on 2022/09/28 23:37:00 UTC
[jira] [Commented] (KAFKA-2526) Console Producer / Consumer's serde config is not working
[ https://issues.apache.org/jira/browse/KAFKA-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610748#comment-17610748 ]
Alex Collins commented on KAFKA-2526:
-------------------------------------
I've created a PR to fix this.
[https://github.com/apache/kafka/pull/12694]
> 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
> Assignee: Mayuresh Gharat
> Priority: Major
> Labels: newbie
>
> 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
(v8.20.10#820010)