cadonna commented on code in PR #14879: URL: https://github.com/apache/kafka/pull/14879#discussion_r1412153908
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java: ########## @@ -849,9 +953,22 @@ public OptionalLong currentLag(TopicPartition topicPartition) { } } + public void setGroupMetadata(final ConsumerGroupMetadata groupMetadata) { + this.groupMetadata = Optional.of(groupMetadata); + } + @Override public ConsumerGroupMetadata groupMetadata() { - throw new KafkaException("method not implemented"); + acquireAndEnsureOpen(); + try { + maybeThrowInvalidGroupIdException(); + backgroundEventProcessor.process(); Review Comment: OK, should then `backgroundEventProcessor.process()` only be called in `AsyncKafkaConsumer#poll()`? -- 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