This is an automated email from the ASF dual-hosted git repository.

mimaison pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5d95d918074 MINOR: Javadoc fixes in KRaftMetadataCache (#18493)
5d95d918074 is described below

commit 5d95d918074bf1b964875dfeee4ec01cc8399ca9
Author: TengYao Chi <kiting...@gmail.com>
AuthorDate: Mon Jan 13 21:37:03 2025 +0800

    MINOR: Javadoc fixes in KRaftMetadataCache (#18493)
    
    
    Reviewers: Mickael Maison <mickael.mai...@gmail.com>
---
 core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala 
b/core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala
index 5d7484714d0..ba2f2d29b7a 100644
--- a/core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala
+++ b/core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala
@@ -151,9 +151,7 @@ class KRaftMetadataCache(
    * @param topicName                   The name of the topic.
    * @param listenerName                The listener name.
    * @param startIndex                  The smallest index of the partitions 
to be included in the result.
-   * @param upperIndex                  The upper limit of the index of the 
partitions to be included in the result.
-   *                                    Note that, the upper index can be 
larger than the largest partition index in
-   *                                    this topic.
+   *                                    
    * @return                            A collection of topic partition 
metadata and next partition index (-1 means
    *                                    no next partition).
    */
@@ -271,7 +269,7 @@ class KRaftMetadataCache(
    *
    * @param topics                        The iterator of topics and their 
corresponding first partition id to fetch.
    * @param listenerName                  The listener name.
-   * @param firstTopicPartitionStartIndex The start partition index for the 
first topic
+   * @param topicPartitionStartIndex      The start partition index for the 
first topic
    * @param maximumNumberOfPartitions     The max number of partitions to 
return.
    * @param ignoreTopicsWithExceptions    Whether ignore the topics with 
exception.
    */

Reply via email to