[ 
https://issues.apache.org/jira/browse/KAFKA-18722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamal Chandraprakash reassigned KAFKA-18722:
--------------------------------------------

    Assignee: Kamal Chandraprakash

> Remove the unreferenced methods from TopicBasedRemoteLogMetadataManager
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-18722
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18722
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Kamal Chandraprakash
>            Assignee: Kamal Chandraprakash
>            Priority: Major
>
> The below methods are unused in TopicBasedRemoteLogMetadataManager, 
> previously they were used in tests and tests have been removed: 
> {noformat}
>     public int metadataPartition(TopicIdPartition topicIdPartition) {
>         return rlmTopicPartitioner.metadataPartition(topicIdPartition);
>     }
>     // Visible For Testing
>     public Optional<Long> readOffsetForPartition(int metadataPartition) {
>         return consumerManager.readOffsetForPartition(metadataPartition);
>     } {noformat}
> See this comment: 
> https://github.com/apache/kafka/pull/18787#pullrequestreview-2590172815



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

Reply via email to