cadonna commented on code in PR #15369:
URL: https://github.com/apache/kafka/pull/15369#discussion_r1496180609
##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java:
##########
@@ -727,6 +732,17 @@ public ConsumerRecords<K, V> poll(final Duration timeout) {
}
}
+ private boolean isGenerationKnown() {
Review Comment:
Probably, I can do something like
```java
if (subscriptions.hasAutoAssignedPartitions()) {
return groupMetadata.filter(g -> g.generationId() !=
JoinGroupRequest.UNKNOWN_GENERATION_ID).isPresent();
}
return true;
```
--
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]