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

Ksolves India Limited edited comment on KAFKA-16706 at 6/18/25 3:35 PM:
------------------------------------------------------------------------

Have tried to attempt in this way reducing 70% code but *BaseQuotaManager* is 
not able to scan in storage package.
  -   class *RLMQuotaManager* extends *BaseQuotaManager*
  -   class *ReplicationQuotaManager* extends *BaseQuotaManager* implements 
*ReplicaQuota* 
  -    abstract class *BaseQuotaManager*


was (Author: JIRAUSER305714):
Have tried to attempt in this way but *BaseQuotaManager* is not able to scan in 
storage package.
  -   class *RLMQuotaManager* extends *BaseQuotaManager*
  -   class *ReplicationQuotaManager* extends *BaseQuotaManager* implements 
*ReplicaQuota* 
  -    abstract class *BaseQuotaManager*

> 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