[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:
vamossagar12 2023-07-26 17:56:20 +05:30 committed by GitHub
parent bb677c4959
commit ff390ab60a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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