[ https://issues.apache.org/jira/browse/KAFKA-6589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandor Murakozi reassigned KAFKA-6589: -------------------------------------- Assignee: Sandor Murakozi > Extract Heartbeat thread from Abstract Coordinator for testability purposes > --------------------------------------------------------------------------- > > Key: KAFKA-6589 > URL: https://issues.apache.org/jira/browse/KAFKA-6589 > Project: Kafka > Issue Type: Improvement > Components: consumer > Reporter: Guozhang Wang > Assignee: Sandor Murakozi > Priority: Minor > > 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 (v7.6.3#76005)