@ -810,16 +810,17 @@ public final class ConsumerCoordinator extends AbstractCoordinator {
@@ -810,16 +810,17 @@ public final class ConsumerCoordinator extends AbstractCoordinator {
}
finalGenerationgeneration;
if(subscriptions.partitionsAutoAssigned())
if(subscriptions.partitionsAutoAssigned()){
generation=generation();
else
// if the generation is null, we are not part of an active group (and we expect to be).
// the only thing we can do is fail the commit and let the user rejoin the group in poll()
if(generation==null){
log.info("Failing OffsetCommit request since the consumer is not part of an active group");