kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gwen Shapira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-1824) in ConsoleProducer - properties key.separator and parse.key no longer work
Date Fri, 26 Dec 2014 19:15:13 GMT

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

Gwen Shapira commented on KAFKA-1824:
-------------------------------------

[~joestein] 0.8.2 branch is actually ok (i.e. you get a warning about "invalid property",
but key.separator and parse.key work fine).
So this just needs to go into trunk.

> in ConsoleProducer - properties key.separator and parse.key no longer work
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-1824
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1824
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Gwen Shapira
>            Assignee: Gwen Shapira
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-1824.patch, KAFKA-1824.patch, KAFKA-1824_2014-12-22_16:17:42.patch
>
>
> Looks like the change in kafka-1711 breaks them accidentally.
> reader.init is called with readerProps which is initialized with commandline properties
as defaults.
> the problem is that reader.init checks:
>     if(props.containsKey("parse.key"))
> and defaults don't return true in this case.



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

Mime
View raw message