[ https://issues.apache.org/jira/browse/KAFKA-18297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912533#comment-17912533 ]
Yu-Lin Chen commented on KAFKA-18297: ------------------------------------- Hi [~dajac], Base on my understanding, we can't stop consumer before deleting members. This test was designed to validate this scenario: * admin client remove member from consumer group * admin list group to check the member is removed. If we stop consumer before removing member, a leave group event will be sent and there is no way to validate the admin client trigger the member removing. Ref: https://github.com/apache/kafka/blob/cbbeccad632d37c131bfa494fdb2eabc5df7610d/core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala#L2030-L2033 > Fix flaky PlaintextAdminIntegrationTest.testConsumerGroups > ---------------------------------------------------------- > > Key: KAFKA-18297 > URL: https://issues.apache.org/jira/browse/KAFKA-18297 > Project: Kafka > Issue Type: Bug > Components: clients, consumer > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Priority: Blocker > Labels: flaky-test, integration-test, kip-848-client-support > Fix For: 4.0.0 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)