You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing the JMX Metric records-lag for a given topic and partition the records-lag should be somewhat comparable to the lag reported in Red Panda/Kafka while producing.
If the production of messages is faster than the consumption of messages the records-lag should increase over time.
Actual Behaviour
If producing to kafka is done via consumption thread then its reported correctly, with the records-lag increasing over time as documented in #634
If producing to kafka is done via a REST Controller in the project, then the records-lag in JMX does not increase, but the consumer lag does increase when viewed in Red Panda/Kafka.
What's even stranger, is if you pre-load the topic with messages (say 10k) and start the app, then it records the records-lag correctly.
Expected Behavior
When viewing the JMX Metric
records-lag
for a given topic and partition the records-lag should be somewhat comparable to the lag reported in Red Panda/Kafka while producing.If the production of messages is faster than the consumption of messages the
records-lag
should increase over time.Actual Behaviour
If producing to kafka is done via consumption thread then its reported correctly, with the
records-lag
increasing over time as documented in #634If producing to kafka is done via a REST Controller in the project, then the records-lag in JMX does not increase, but the consumer lag does increase when viewed in Red Panda/Kafka.
What's even stranger, is if you pre-load the topic with messages (say 10k) and start the app, then it records the records-lag correctly.
Steps To Reproduce
kafka
,micrometer-jmx
,micrometer-prometheus
, with name: consumer, java version: 21curl -X POST http://localhost:8082/produce/batch/10/100000
Environment Information
Example Application
https://github.com/retinaburn/micronaut-kafka-investigation
Version
4.2.0
The text was updated successfully, but these errors were encountered: