You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Andrew Schofield (Jira)" <ji...@apache.org> on 2026/10/20 13:51:00 UTC

[jira] [Resolved] (KAFKA-20858) Refactor SubscriptionState to give cleaner separation for share groups

     [ https://issues.apache.org/jira/browse/KAFKA-20858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Schofield resolved KAFKA-20858.
--------------------------------------
    Fix Version/s: 4.5.0
       Resolution: Fixed

> Refactor SubscriptionState to give cleaner separation for share groups
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-20858
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20858
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: Andrew Schofield
>            Assignee: Andrew Schofield
>            Priority: Major
>             Fix For: 4.5.0
>
>
> The SubscriptionState class in the client is a core class in the consumer and share consumer. It keeps track of all manner of consumer state such as subscribed topics, assigned partitions and fetch positions.
> Although there are some concepts which are common to consumer group and share group subscription state management, there are also many differences.
> This task refactors the subscription state to remove this false coupling between group types, and give share groups better control over the topics included in the metadata.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)