Repository navigation
Conversation
pisceslj
force-pushed
the
feature/fip-53-server-consumer-group-management
branch
from
November 13, 2026 12:46
5a4fd72 to
5b2037d
Compare
wuchong
reviewed
Nov 14, 2026
Implement list and delete consumer groups and delete consumer offsets on the tablet server. Add group metadata key encoders, per-bucket offset deletion results, and INVALID_REQUEST validation for duplicate group IDs and table buckets. Authorize live source tables before offset deletion and update the authorization documentation.
- Add Group-level visibility to LIST_CONSUMER_GROUPS while preserving Cluster DESCRIBE inheritance. - Make DELETE_CONSUMER_GROUPS remove both group metadata and all committed offsets. - Require Group WRITE and source Table READ for DELETE_CONSUMER_OFFSETS, with group-only cleanup only for confirmed-deleted tables. - Remove redundant result wrappers and the pre-read before offset deletion. - Update RPC Javadocs, proto comments, authorization docs, and generated Rust protobuf code. - Add real RPC integration tests for listing, deletion, authorization, and persisted offsets.
pisceslj
force-pushed
the
feature/fip-53-server-consumer-group-management
branch
from
November 15, 2026 14:43
5b2037d to
848ec83
Compare
Co-Authored-By: Codex <noreply@openai.com> AI-Contributed/Feature: 75/77 AI-Contributed/UT: 123/123
wuchong
approved these changes
Nov 15, 2026
wuchong
left a comment
Member
There was a problem hiding this comment.
@pisceslj I’ve pushed several commits to simplify the code:
- Simplified DELETE_CONSUMER_OFFSETS to require only WRITE(Group), removing the source-table READ check and the deleted-table tracking in the metadata cache. I realized it's difficult or heavy to check the table is deleted. Maintaining deleted tables in metadata is not safe, since it's cleared after server restarting.
- Simplified code in ConsumerGroupManager and ConsumerOffsetSchema
If you are fine with the changes, I will merge it once CI is passed.
Contributor
Author
LGTM. Requiring only Group |
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #5202
Part of #4608.
Implement consumer-group management APIs on tablet servers so administrators can
list groups, delete consumer-group metadata, and delete selected committed
offsets. LIST_CONSUMER_GROUPS returns groups owned by the receiving tablet
server; callers that need a cluster-wide view must query every tablet server and
merge the results.
Brief change log
DELETE_CONSUMER_OFFSETS in TabletService.
ConsumerGroupManager and ConsumerOffsetSchema.
buckets are successful no-ops.
source tables no longer have a table resource and will rely on group-level ACL
once that work merges.
operations and their current authorization semantics.
Tests
ConsumerGroupManagerCommitFailureTest, and ConsumerGroupDiscoveryTest: 20 cases.
ConsumerOffsetFetchITCase, ConsumerOffsetFetchAuthorizationITCase, and ConsumerOffsetTableITCase: 11 cases.
API and Format
Adds consumer-group management implementations for existing RPC API keys.
Existing RPC message schemas remain unchanged. DELETE_CONSUMER_GROUPS removes
consumer-group metadata only and does not remove committed offsets.
DELETE_CONSUMER_OFFSETS removes only the requested committed offsets. No wire format changes are introduced.
Documentation
Updates authorization.md with the new protocol operations and their current authorization semantics.