Kamal Chandraprakash created KAFKA-18722:
--------------------------------------------

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


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