Skip to content

MINOR: Update GroupCoordinator interface to use AuthorizableRequestContext instead of RequestContext #19485

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
merged 5 commits into from
Apr 16, 2025

Conversation

dajac
Copy link
Member

@dajac dajac commented Apr 16, 2025

This patch updates the GroupCoordinator interface to use
AuthorizableRequestContext instead of using RequestContext. It makes
the interface more generic. The only downside is that the request
version in AuthorizableRequestContext is an int instead of a short
so we had to adapt it in a few places. We opted for using int directly
wherever possible.

Reviewers: Chia-Ping Tsai [email protected], Rajini Sivaram
[email protected]

@dajac dajac requested a review from rajinisivaram April 16, 2025 06:43
@github-actions github-actions bot added core Kafka Broker clients labels Apr 16, 2025
Copy link
Contributor

@rajinisivaram rajinisivaram left a comment

Choose a reason for hiding this comment

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

@dajac Thanks for the PR, LGTM. Just left one minor comment.

Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

LGTM

@dajac dajac merged commit 6e26ec0 into apache:trunk Apr 16, 2025
24 checks passed
@dajac dajac deleted the minor-update-coordinator-interface branch April 16, 2025 16:12
rreddy-22 pushed a commit to rreddy-22/kafka-rreddy that referenced this pull request Apr 21, 2025
…ntext instead of RequestContext (apache#19485)

This patch updates the `GroupCoordinator` interface to use
`AuthorizableRequestContext` instead of using `RequestContext`. It makes
the interface more generic. The only downside is that the request
version in `AuthorizableRequestContext` is an `int` instead of a `short`
so we had to adapt it in a few places. We opted for using `int` directly
wherever possible.

Reviewers: Chia-Ping Tsai <[email protected]>, Rajini Sivaram <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clients core Kafka Broker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants