You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2016/04/20 14:07:25 UTC
[jira] [Commented] (KAFKA-3591) JmxTool should exit out if a
provided query matches no values
[ https://issues.apache.org/jira/browse/KAFKA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249722#comment-15249722 ]
Harsh J commented on KAFKA-3591:
--------------------------------
(Please assign to me)
> JmxTool should exit out if a provided query matches no values
> -------------------------------------------------------------
>
> Key: KAFKA-3591
> URL: https://issues.apache.org/jira/browse/KAFKA-3591
> Project: Kafka
> Issue Type: Improvement
> Components: tools
> Affects Versions: 0.9.0.0
> Reporter: Harsh J
> Priority: Trivial
>
> Running {{kafka.tools.JmxTool}} with an invalid query, such as {{--object-name "foobar"}} would produce just "time" field outputs given no such object. If there are no matched objects when a query has been explicitly provided, it should exit out instead of just printing the time data.
> (We should not exit if no filter is provided though, i.e. if the KAFKA-2278 feature is used)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)