[
https://issues.apache.org/jira/browse/KAFKA-20306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lucas Brutschy updated KAFKA-20306:
-----------------------------------
Affects Version/s: 4.2.0
> StreamsGroupCommand does not display committed offsets for repartition topics
> -----------------------------------------------------------------------------
>
> Key: KAFKA-20306
> URL: https://issues.apache.org/jira/browse/KAFKA-20306
> Project: Kafka
> Issue Type: Task
> Components: streams
> Affects Versions: 4.2.0
> Reporter: Lucas Brutschy
> Assignee: Alieh Saeedi
> Priority: Major
>
> The kafka-streams-groups.sh tool does not display committed offsets for
> repartition topics when using the --describe --verbose option. Repartition
> topic offsets show as '-' instead of actual values. The root cause is in
> StreamsGroupCommand.getCommittedOffsets(), which filters committed offsets to
> only include topics from subtopology.sourceTopics(). Repartition topics are
> not source topics — they are in repartitionSourceTopics(). This causes their
> committed offsets to be dropped from the output. Meanwhile,
> getTopicPartitions() correctly includes both sourceTopics() and
> repartitionSourceTopics() when determining which topic-partitions to display,
> so repartition topics appear in the output but without their offset data. The
> fix is to also include repartitionSourceTopics() in the filter in
> getCommittedOffsets(), consistent with what getTopicPartitions() already does.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)