aliehsaeedii opened a new pull request, #17981:
URL: https://github.com/apache/kafka/pull/17981

   This PR and the future following ones aim to refactor the big 
`GroupMetadataManager` class and split it into multiple classes. This PR 
specifically introduces the `GroupStore` class, which contains the metadata for 
all groups. 
   
   The high level design: mainly introducing the following classes, each 
containing specific properties and methods: 
   1.  `GroupStore`: metadata for all groups.
   2. `ShareGroupMetadataManager`: has a reference to `GroupStore` + properties 
and methods related to ShareGroup metadata management.
   3. `ConsumerGroupMetadataManager`: has a reference to `GroupStore` + 
properties and methods related to ConsumerGroup metadata management.
   4. `ClassicGroupMetadataManager`: has a reference to `GroupStore` + 
properties and methods related to ClassicGroup metadata management.
   
   Since `ConsumerGroupMetadataManager` and `ClassicGroupMetadataManager` share 
many methods, a helper class may be defined to avoid method duplication.
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to