Chia-Ping Tsai created KAFKA-21678:
--------------------------------------

             Summary: Add integration test to verify the group upgrade is 
blocked if the size exceeds group.consumer.max.size
                 Key: KAFKA-21678
                 URL: https://issues.apache.org/jira/browse/KAFKA-21678
             Project: Kafka
          Issue Type: Test
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


 

The following branch in GroupMetadataManager#validateOnlineUpgrade is not 
covered by any test.
{code:java}
} else if (classicGroup.numMembers() > config.consumerGroupMaxSize()) {
    log.info("[GroupId {}] Cannot upgrade the classic group to consumer group 
because the group size exceeds the consumer group maximum size.", ...);
    throw new GroupIdNotFoundException(
        String.format("Cannot upgrade classic group %s to consumer group 
because the group size exceeds the consumer group maximum size.", ...));
}
{code}
 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to