Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15744

camel-micrometer: add ability to get micrometer metrics from Kafka Client

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

       

      In Mirometer introduces an ability to get technical metrics from Kafka's consumers and producers.

      It seems to be production-ready since 1.5.4 based on our production experience and available since 1.4.0.

      See: Micrometer implementation  

      I tried to add a custom implementation to my project to extract those metrics from Camel. I found out that I'm unable to do it for the Kafka Consumer since the actual Kafka Consumer hides deeply inside KafkaConsumer Camel class.

      At the same time, I'm able to get KafkaProducer from Camel class here.  

      Desired Solution:

      Add additional CamelKafkaMicrometerRoutePolicy to extract Kafka technical metrics.

      Add the ability to inject CamelKafkaMicrometerRoutePolicy into Consumer and Producer components.

       

      Will this feature be welcomed in Camel?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stefan.stus Stefan Stus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: