Boyang Chen created KAFKA-8490:
----------------------------------

             Summary: Use `Migrated` and `Deleted` state to replace consumer 
group `Dead` state
                 Key: KAFKA-8490
                 URL: https://issues.apache.org/jira/browse/KAFKA-8490
             Project: Kafka
          Issue Type: Improvement
            Reporter: Boyang Chen
            Assignee: Boyang Chen


Inspired by [https://github.com/apache/kafka/pull/6762], right now the consumer 
group dead state is not clear to the user. It actually suggests 3 transient 
states:
 # a group is emigrated to another broker
 # an empty group is marked as dead by DeleteGroup request and will be deleted 
soon
 # a group is unloaded from cache due to last offset expiring

In case 1, the state name is better defined as `Migrated` to be consistent with 
what's actually going on in the background. for case 2 & 3, the state is better 
defined as `Deleted` which conveys a more accurate group status. By separating 
these two states, our error handling should also be more precise.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to