cadonna commented on code in PR #15426:
URL: https://github.com/apache/kafka/pull/15426#discussion_r1504099715


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java:
##########
@@ -293,6 +276,23 @@ private void process(final 
ConsumerRebalanceListenerCallbackNeededEvent event) {
     private final AtomicLong currentThread = new AtomicLong(NO_CURRENT_THREAD);
     private final AtomicInteger refCount = new AtomicInteger(0);
 
+    private final InvalidGroupIdException invalidGroupIdException =
+        new InvalidGroupIdException("To use the group management or offset 
commit APIs, you must " +
+            "provide a valid " + ConsumerConfig.GROUP_ID_CONFIG + " in the 
consumer configuration.");
+
+    private void updateGroupMetadata(final Optional<Integer> memberEpoch, 
final Optional<String> memberId) {
+        groupMetadata.updateAndGet(

Review Comment:
   The application thread can also update the group metadata when unsubscribing.



-- 
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

Reply via email to