[ 
https://issues.apache.org/jira/browse/KAFKA-16706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852802#comment-17852802
 ] 

Muralidhar Basani commented on KAFKA-16706:
-------------------------------------------

Yes I see similarities. May be coming up with a structure like below ?
 * New QuotaManager Interface,
 * New BaseQuotaManager abstract class extends QuotaManager,
 * ReplicationQuotaManager extends BaseQuotaManager
 * RLMQuotaManager extends from BaseQuotaManager

wdyt ?

> Refactor ReplicationQuotaManager/RLMQuotaManager to eliminate code duplication
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-16706
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16706
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Abhijeet Kumar
>            Priority: Minor
>
> ReplicationQuotaManager and RLMQuotaManager implementations are similar. We 
> should explore ways to refactor them to remove code duplication.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to