Skip to content

[server] Implement consumer group management APIs #5202

Closed

Description

@pisceslj

Search before asking

  • I searched in the issues and found nothing similar.

Description

Search before asking

  • I searched in the issues and found nothing similar.

Description

Motivation

This is a subtask of #4608.

Add consumer-group management on tablet servers after the consumer-offset table
foundation, RPC contract, owner discovery, and offset fetch have been added.

Allow administrators to list consumer groups, delete selected committed offsets,
and delete consumer-group metadata from the tablet server that owns the group's
consumer-offsets bucket.

Scope

  • Implement LIST_CONSUMER_GROUPS on tablet servers.
  • Implement DELETE_CONSUMER_GROUPS to remove consumer-group metadata only.
  • Implement DELETE_CONSUMER_OFFSETS to remove selected committed offsets.
  • Add INVALID_REQUEST handling for duplicate group IDs and duplicate table buckets.
  • Add group metadata row key and prefix encoders to the consumer-offset schema.
  • Report per-bucket results for offset deletion.
  • Require READ on live source tables before deleting their offsets.
  • Update the authorization documentation.

Out of scope

  • Client-side consumer-group APIs
  • Cluster-wide group listing
  • Group metadata write path
  • Group ACL enforcement
  • Offset fetch and commit behavior changes

Willingness to contribute

  • I'm willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions