Skip to content

fix(consumer): add topic IDs for OffsetCommit v10#2570

Open
makuche wants to merge 1 commit into
redpanda-data:masterfrom
makuche:fix-offset-reset-kafka-4-2
Open

fix(consumer): add topic IDs for OffsetCommit v10#2570
makuche wants to merge 1 commit into
redpanda-data:masterfrom
makuche:fix-offset-reset-kafka-4-2

Conversation

@makuche

@makuche makuche commented Jul 21, 2026

Copy link
Copy Markdown

Fixes #2571

Problem

Editing consumer group offsets in Console v3.7.4/v3.8.0 against Apache Kafka 4.2 fails with
Could not apply offsets for consumer group <group-id>. Error: Apply offsets failed with 1 errors.

Fix

  • Resolve topic IDs via Metadata request and set TopicID on the OffsetCommitRequest
  • Map topic IDs back to names in the response

Tested against confluentinc/cp-kafka:8.2.0 (which bundles Kafka 4.2). The offset reset previously failed as described and succeeds with this change.

@makuche
makuche marked this pull request as ready for review July 21, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

backend: editing consumer offset in v3.7.4/v3.8.0 against Kafka 4.2 fails with UNKNOWN_TOPIC_ID

1 participant