MINOR: fix currentLag javadoc (#14224)

Reviewers: Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
Lucas Brutschy 2023-09-08 04:25:31 +02:00 committed by GitHub
parent 9ecf6f7f1c
commit 01b91af59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2219,7 +2219,8 @@ public class KafkaConsumer<K, V> implements Consumer<K, V> {
* for example if there is no position yet, or if the end offset is not known yet.
*
* <p>
* This method uses locally cached metadata and never makes a remote call.
* This method uses locally cached metadata. If the log end offset is not known yet, it triggers a request to fetch
* the log end offset, but returns immediately.
*
* @param topicPartition The partition to get the lag for.
*