Jason Gustafson created KAFKA-8371:
--------------------------------------

             Summary: 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


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)

Reply via email to