mirror of https://github.com/apache/kafka.git
MINOR: fix currentLag javadoc (#14224)
Reviewers: Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
parent
9ecf6f7f1c
commit
01b91af59c
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue