Browse Source

MINOR: fix currentLag javadoc (#14224)

Reviewers: Matthias J. Sax <matthias@confluent.io>
pull/14358/head
Lucas Brutschy 1 year ago committed by GitHub
parent
commit
01b91af59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java

3
clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java

@ -2219,7 +2219,8 @@ public class KafkaConsumer<K, V> implements Consumer<K, V> { @@ -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…
Cancel
Save