You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2019/05/15 20:01:00 UTC

[jira] [Created] (KAFKA-8371) Remove ReplicaManager dependence from Partition

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)