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

JmxTool should support querying all objects when object-name is omitted

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None
    • None

    Description

      One usecase of JmxTool is to allow user to query all existing objects and attributes, such that the developer can quickly lookup the right object name and attribute name in the output. Indeed, existing API of JmxTool allows user to do this when object-name is not specified in argument.

      However, current implementation of JmxTool doesn't support this operation due to the way it is implemented. This is partly due to the fact that some JMX object, such as java.lang:type=MemoryPool, doesn't have value for all its attributes.

      The patch submitted here will fix the problem.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lindong Dong Lin
            lindong Dong Lin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment