kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Kreps (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-692) ConsoleConsumer outputs diagnostic message to stdout instead of stderr
Date Sun, 13 Jan 2013 03:54:12 GMT

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

Jay Kreps commented on KAFKA-692:
---------------------------------

Is this the right fix, I don't think the console consumer should output anything but messages
or errors. This diagnostic should not have been added, perhaps we should just remove it?
                
> ConsoleConsumer outputs diagnostic message to stdout instead of stderr
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-692
>                 URL: https://issues.apache.org/jira/browse/KAFKA-692
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.8
>            Reporter: ben fleis
>            Assignee: ben fleis
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: kafka_692_v1.diff
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> At the end of its handling loop, ConsoleConsumer prints "Consumed %d messages" to standard
out.  Clients who use custom formatters, and read this output, shouldn't need to special case
this line, or accept a parse error.
> It should instead go (as all diagnostics should) to stderr.
> patch attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message