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

JmxTool should exit out if a provided query matches no values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.9.0.0
    • 2.0.0
    • tools
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: