[ https://issues.apache.org/jira/browse/KAFKA-8371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang updated KAFKA-8371: --------------------------------- Labels: tech-debt (was: ) > Remove ReplicaManager dependence from Partition > ----------------------------------------------- > > Key: KAFKA-8371 > URL: https://issues.apache.org/jira/browse/KAFKA-8371 > Project: Kafka > Issue Type: Improvement > Reporter: Jason Gustafson > Assignee: Jason Gustafson > Priority: Major > Labels: tech-debt > > The dependence on ReplicaManager from the Partition logic makes testing this > class very cumbersome. Often we are just using ReplicaManager as a way to get > access to an additional dependency. We should make the actual dependencies > explicit and we should introduce smaller traits which encapsulate the state > we actually need. -- This message was sent by Atlassian JIRA (v7.6.3#76005)