dajac commented on code in PR #12598:
URL: https://github.com/apache/kafka/pull/12598#discussion_r966198873


##########
core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala:
##########
@@ -982,6 +982,12 @@ class GroupCoordinator(val brokerId: Int,
   ): Option[Errors] = {
     if (group.is(Dead)) {
       Some(Errors.COORDINATOR_NOT_AVAILABLE)
+    } else if (!isTransactional && generationId < 0 && group.is(Empty)) {

Review Comment:
   I thought that transactional commits should never comes with a generation < 
0. I suppose that this is wrong. I suppose that a producer could commit 
transactional offsets without using a consumer group. Is this right?



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