Guozhang Wang created KAFKA-6589:

             Summary: Extract Heartbeat thread from Abstract Coordinator for 
testability purposes
                 Key: KAFKA-6589
             Project: Kafka
          Issue Type: Improvement
          Components: consumer
            Reporter: Guozhang Wang

Today we do not have an easy way to instrument the heartbeat thread in our unit 
test, e.g. to inject a GC or make it crash etc since it is a private class 
inside AbstractCoordinator.

It is better to extract this class out and also enabling AbstractCoordinator to 
take a heartbeat-thread interface that can be mocked for test utils.

This message was sent by Atlassian JIRA

Reply via email to