ShivsundarR opened a new pull request, #20474: URL: https://github.com/apache/kafka/pull/20474
*What* - Currently in `ShareConsumerImpl`, we were not resetting `background-event-queue-size` metric to 0 after draining the events from the queue. - This PR fixes it by using `BackgroundEventHandler::drainEvents` similar to `AsyncKafkaConsumer`. - Added a unit test to verify the metric is reset to 0 after draining the events. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org