chia7712 commented on PR #23272: URL: https://github.com/apache/kafka/pull/23272#issuecomment-5552140358
### Test time comparison Ran the 7 affected test classes locally on trunk and with this patch (57 tests, all passed in both runs). | Test class | trunk | patch | speedup | |---|---|---|---| | HeadersStoreUpgradeIntegrationTest | 15m37.6s | 46.1s | 20.3x | | TimestampedStoreUpgradeIntegrationTest | 5m31.7s | 28.5s | 11.6x | | VersionedKeyValueStoreIntegrationTest | 3m16.5s | 19.2s | 10.2x | | SelfJoinUpgradeIntegrationTest | 3m13.9s | 17.3s | 11.2x | | SessionsStoreWithHeadersTest | 1m41.7s | 12.6s | 8.1x | | TimestampedWindowStoreWithHeadersTest | 1m41.6s | 12.6s | 8.1x | | TimestampedKeyValueStoreWithHeadersTest | 1m40.8s | 11.4s | 8.8x | | **Total** | **15m38s** | **46.8s** | **20x** | Each restart with the same `application.id` previously waited for the old member's session timeout (~45s, the default `session.timeout.ms`) before rejoining. Closing with `GroupMembershipOperation.LEAVE_GROUP` removes that wait, saving roughly 45s per restart. -- 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]
