KAFKA-20169: Support static membership for Kafka Streams with the streams rebalance protocol at Client Side.#21603
Conversation
…eams rebalance protocol at Client Side.
|
@m1a2st , Hi! During the client-side work, I realized I had to implement part of what’s being discussed in KIP-1284. Specifically, for static members, the client should be able to leave with epoch To complete this PR, I think there are a couple of possible approaches:
I want to be respectful of the PR that will come out of KIP-1284. Thanks in advance for your guidance. 🙇♂️ Small world — looks like we’re at the same company. Nice to connect here. 😄 |
|
Hello @chickenchickenlove, I think we can wait until KIP-1284 is approved. In the meantime, I’ll complete the implementation without static member support first, and then you can follow up with the static member–related logic afterward. That might make the development process smoother overall. It’s great to connect with you as well 😊 |
|
@m1a2st |
|
This PR is being marked as stale since it has not had any activity in 90 days. If you If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact). If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed. |
|
Seems likle #22559 replaced this |
Description
This PR adds client-side support for static membership in the Streams group protocol, aligned with KIP-1071.
What changed
group.instance.idwithgroup.protocol=streamsin Streams config validation.group.instance.idintoStreamsMembershipManagercreation path.CloseOptions.GroupMembershipOperationand support static member leave epoch handling (-2forremain-in-grouppath).UNRELEASED_INSTANCE_IDhandling inStreamsGroupHeartbeatRequestManageras a fatal error path.StreamsMembershipManagerTestfor static member close/leave epoch behavior.StreamsConfigTestforgroup.protocol=streams+group.instance.idacceptance.Scope
close()method here. This will be aligned in KIP-1284.Related PR
Reviewers: Lucas Brutschy lbrutschy@confluent.io