Skip to content

Remove ConsumerRebalanceProtocolTests #3936

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

Merged

Conversation

sobychacko
Copy link
Contributor

These tests were just verifying Kafka’s own rebalance protocol, not anything specific in Spring for Apache Kafka framework. Since the new protocol is handled entirely by the Kafka server, there’s no need to test it here. Users can enable the protocol via the config - group.protocol. No extra framework logic involved.

Testing the protocol in the framework test suite is unnecessary and leads to long-running tests without added value.

See the ref docs here:
https://docs.spring.io/spring-kafka/reference/4.0/kafka/receiving-messages/rebalance-listeners.html#new-rebalalcne-protocol

These tests were just verifying Kafka’s own rebalance protocol, not anything specific
in Spring for Apache Kafka framework. Since the new protocol is handled entirely by the
Kafka server, there’s no need to test it here. Users can enable the protocol via the
config - group.protocol. No extra framework logic involved.

Testing the protocol in the framework test suite is unnecessary and leads to long-running
tests without added value.

See the ref docs here:
https://docs.spring.io/spring-kafka/reference/4.0/kafka/receiving-messages/rebalance-listeners.html#new-rebalalcne-protocol

Signed-off-by: Soby Chacko <[email protected]>
@sobychacko sobychacko added this to the 4.0.0-M3 milestone May 30, 2025
@artembilan artembilan merged commit fd0b0db into spring-projects:main May 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants