Chia-Ping Tsai created KAFKA-21679:
--------------------------------------

             Summary: Add integration test to verify the group downgrade is 
blocked if the size exceeds group.max.size when a static member is replaced
                 Key: KAFKA-21679
                 URL: https://issues.apache.org/jira/browse/KAFKA-21679
             Project: Kafka
          Issue Type: Test
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


The following branch in 
GroupMetadataManager#validateOnlineDowngradeWithReplacedMember is not covered 
by any test. 

 
{code:java}
        } else if (consumerGroup.numMembers() > config.classicGroupMaxSize()) {
            log.info("[GroupId {}] Cannot downgrade the consumer group to 
classic group because its group size is greater than classic group max size.",
                consumerGroup.groupId());
            return false;
        }
{code}
 



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

Reply via email to