Chia-Ping Tsai created KAFKA-21149:
--------------------------------------
Summary: Speed up JoinGracePeriodDurabilityIntegrationTest
Key: KAFKA-21149
URL: https://issues.apache.org/jira/browse/KAFKA-21149
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
It can leverage the LEAVE_GROUP to speed up the bounce in
{{{}shouldRecoverBufferAfterShutdown{}}}, since the restart with the same
application id waits for the previous member's session timeout otherwise.
{code:java}
// restart the driver
driver.close(CloseOptions.groupMembershipOperation(CloseOptions.GroupMembershipOperation.LEAVE_GROUP));
assertEquals(KafkaStreams.State.NOT_RUNNING, driver.state()); {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)