Yunyung commented on code in PR #19393: URL: https://github.com/apache/kafka/pull/19393#discussion_r2030586173
########## clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java: ########## @@ -1658,7 +1660,8 @@ public Map<TopicPartition, Long> beginningOffsets(Collection<TopicPartition> par * @see #seekToEnd(Collection) * * @param partitions the partitions to get the end offsets. - * @return The end offsets for the given partitions. + * @return The end offsets for the given partitions. If the offset for a specific partition cannot be found or the + * timeout is zero, the corresponding value will be {@code null} Review Comment: Some paragraphs have periods, while others do not, such as in existing JavaDocs. We should make them all consistent (this can be addressed in another PR). -- 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