[ 
https://issues.apache.org/jira/browse/KAFKA-19899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040372#comment-18040372
 ] 

Dongnuo Lyu commented on KAFKA-19899:
-------------------------------------

Hi [~antonvasant], thanks for taking this. I've updated the description with 
more context. Feel free to ask more questions if you need clarification.

> Bumping group epoch when member regex subscription changes from non empty to 
> empty
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-19899
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19899
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Dongnuo Lyu
>            Assignee: Anton Vasanth
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> In `GroupMetadataManager#maybeUpdateRegularExpressions`, 
> `updateRegularExpressionsResult` is set to REGEX_UPDATED if the updated 
> member regex subscription is empty and the current member's is not empty, 
> which [doesn't trigger a group epoch 
> bump|https://github.com/apache/kafka/blob/trunk/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java#L2376-L2386]
>  later in `consumerGroupHeartbeat`.
> We should fix it by returning REGEX_UPDATED_AND_RESOLVED in this case.



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

Reply via email to