kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewen Cheslack-Postava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-2526) Console Producer / Consumer's serde config is not working
Date Tue, 01 Aug 2017 03:30:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108328#comment-16108328

Ewen Cheslack-Postava commented on KAFKA-2526:

What is the proposed fix? I don't know that I'd spend too much time on a patch unless there's
some agreement about the fix (aside from prototyping purposes). The simplest fix is to just
throw an error if they try to set the serializers to anything else to warn them that it won't

> 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
>              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
> 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

View raw message