Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
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?