Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3591

JmxTool should exit out if a provided query matches no values

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 2.0.0
    • Component/s: tools
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              qwertymaniac Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: