Skip to content
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

KAFKA-17337: ConsumerConfig should default to CONSUMER for group.protocol #17107

Draft
wants to merge 16 commits into
base: trunk
Choose a base branch
from

Conversation

kirktrue
Copy link
Collaborator

@kirktrue kirktrue commented Sep 5, 2024

Updated DEFAULT_GROUP_PROTOCOL to use CONSUMER instead of CLASSIC, updated GROUP_PROTOCOL_DOC to be a little more flexible going forward, and cleaned up unit tests that assumed CLASSIC as the default group protocol.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

…ocol

Updated DEFAULT_GROUP_PROTOCOL to use CONSUMER instead of CLASSIC, updated GROUP_PROTOCOL_DOC to be a little more flexible going forward, and cleaned up unit tests that assumed CLASSIC as the default.
@kirktrue kirktrue added consumer KIP-848 The Next Generation of the Consumer Rebalance Protocol labels Sep 5, 2024
@kirktrue
Copy link
Collaborator Author

kirktrue commented Sep 5, 2024

I would like to run the system tests with this change before review.

Copy link
Collaborator

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

For some reason, listing all the GroupProtocol options dynamically led to a StackOverflowError. Changed it to list the protocols explicitly to avoid this.

The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
        at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2296)
        at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:576)
        at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2435)
        at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:576)
        at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2435)
        at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:576)
        at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2435)
        at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)
@github-actions github-actions bot added the core Kafka Broker label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved clients consumer core Kafka Broker KIP-848 The Next Generation of the Consumer Rebalance Protocol small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants