fvaleri commented on code in PR #13085: URL: https://github.com/apache/kafka/pull/13085#discussion_r1064122413
########## core/src/main/scala/kafka/cluster/Partition.scala: ########## @@ -1189,7 +1189,7 @@ class Partition(val topicPartition: TopicPartition, * @param minOneMessage whether to ensure that at least one complete message is returned * @param updateFetchState true if the Fetch should update replica state (only applies to follower fetches) * @return [[LogReadInfo]] containing the fetched records or the diverging epoch if present - * @throws NotLeaderOrFollowerException if this node is not the current leader and [[FetchParams.fetchOnlyLeader]] + * @throws NotLeaderOrFollowerException if this node is not the current leader and `FetchParams.fetchOnlyLeader` Review Comment: TBH, I haven't found a way to link a Java method from scaladoc. Do you have any suggestion here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org