-
Notifications
You must be signed in to change notification settings - Fork 14.7k
KAFKA-19807: Add RPC-level integration tests for StreamsGroupHeartbeat [2/2] #20762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive integration tests for the StreamsGroupHeartbeat RPC, validating group coordinator behavior across various scenarios including internal topic creation, dynamic configuration changes, member expiration/rejoining, and coordinator restarts.
Key changes:
- Added four new integration tests for different StreamsGroupHeartbeat scenarios
- Implemented helper methods for topology creation and task ID conversion
- Configured test-specific cluster properties for heartbeat and session timeouts
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
|
||
| streamsGroupHeartbeatResponse1 = connectAndReceive[StreamsGroupHeartbeatResponse](streamsGroupHeartbeatRequest1) | ||
| streamsGroupHeartbeatResponse1.data.errorCode == Errors.NONE.code() && | ||
| streamsGroupHeartbeatResponse1.data.standbyTasks()!= null |
Copilot
AI
Oct 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space before != operator. Should be != null instead of != null.
| streamsGroupHeartbeatResponse1.data.standbyTasks()!= null | |
| streamsGroupHeartbeatResponse1.data.standbyTasks() != null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucliu1108 You need to add the right header to the file
|
@lucliu1108 You need to add the right header to the file (meant to comment in this PR) |
What
Ticket: https://issues.apache.org/jira/browse/KAFKA-19807
Follow up on #20757, add tests that:
(
streams.num.standby.replicas) changeReviewers: @lucasbru