Harsh J created KAFKA-3591:
------------------------------
Summary: 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)