mirror of https://github.com/apache/kafka.git
[MINOR] Fix Javadoc comment in KafkaFuture#toCompletionStage (#14100)
Fix Javadoc comment in KafkaFuture#toCompletionStage Reviewers: Luke Chen <showuon@gmail.com>
This commit is contained in:
parent
bb677c4959
commit
ff390ab60a
|
|
@ -110,7 +110,7 @@ public abstract class KafkaFuture<T> implements Future<T> {
|
|||
* {@code CompletionStage} will work normally.
|
||||
*
|
||||
* <p>If you want to block on the completion of a KafkaFuture you should use
|
||||
* {@link #get()}, {@link #get(long, TimeUnit)} or {@link #getNow(Object)}, rather then calling
|
||||
* {@link #get()}, {@link #get(long, TimeUnit)} or {@link #getNow(Object)}, rather than calling
|
||||
* {@code .toCompletionStage().toCompletableFuture().get()} etc.
|
||||
*
|
||||
* @since Kafka 3.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue