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

The topic names in the metrics do not retain their format when extracting through JMX.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • consumer, metrics
    • None

    Description

      I have topic names that have a period in the name:

      product.order
      product.offering.price

       

      However, for the metrics issued by JMX by a program that is a consumer of Kafka messages, the dots are replaced with an underscore:

      kafka.consumer<type=consumer-fetch-manager-metrics, client-id=consumer-export-4, topic=product_offering_price, partition=1><>records-lead

       

      This creates a problem if I want to calculate the customer's lag in relation to the number of messages on Kafka.

       

      But for the producer, this problem doesn't occur:

      kafka.producer<type=producer-topic-metrics, client-id=bss.data.verification.pi_1, topic=product.offering.price><>record-send-total

       

      As a consumer I use Akka Alpakka. But I think it's using Apache library to connect to Kafka and report metrics via JMX.

      Attachments

        1. JConsole - Kafka Client.png
          42 kB
          Iacopo Talevi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rafal_chmielewski Rafał Chmielewski
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: