chenyulin0719 commented on code in PR #18513:
URL: https://github.com/apache/kafka/pull/18513#discussion_r1913636428
##########
core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala:
##########
@@ -1883,6 +1886,9 @@ class PlaintextAdminIntegrationTest extends
BaseAdminIntegrationTest {
}
} catch {
case _: InterruptException => // Suppress the output to stderr
+ } finally {
+ consumer.close()
+ stopLatch.countDown()
Review Comment:
Hi @TaiJuWu, Thanks for the comment.
That's intentional. When a static consumer shutdowns, it does not leave the
group.
Closed consumers can ensure no member rejoin during member deletion.
The admin client will conduct member remove to static member only.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]