alexr17 opened a new issue, #17974: URL: https://github.com/apache/hudi/issues/17974
### Bug Description What happened: The kafkaDelayCount metric stops being emitted when Kafka lag drops to zero because the metric call in KafkaOffsetGen.getNextOffsetRanges() is inside a checkpoint validation conditional block. What you expected: The metric should always be emitted, reporting 0 when caught up rather than disappearing/flatlining from monitoring dashboards. Steps to reproduce: Start DeltaStreamer with Kafka source and metrics enabled Wait for consumer to catch up (latestOffsets == committedOffsets) Observe kafkaDelayCount metric is no longer emitted ### Environment **Hudi version:** **Query engine:** (Spark/Flink/Trino etc) **Relevant configs:** ### Logs and Stack Trace _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
