Class RequestReplyFuture<K,V,R>

java.lang.Object
java.util.concurrent.CompletableFuture<org.apache.kafka.clients.consumer.ConsumerRecord<K,R>>
org.springframework.kafka.requestreply.RequestReplyFuture<K,V,R>
Type Parameters:
K - the key type.
V - the outbound data type.
R - the reply data type.
All Implemented Interfaces:
CompletionStage<org.apache.kafka.clients.consumer.ConsumerRecord<K,R>>, Future<org.apache.kafka.clients.consumer.ConsumerRecord<K,R>>

public class RequestReplyFuture<K,V,R> extends CompletableFuture<org.apache.kafka.clients.consumer.ConsumerRecord<K,R>>
A CompletableFuture for requests/replies.
Since:
2.1.3
Author:
Gary Russell
  • Constructor Details

    • RequestReplyFuture

      public RequestReplyFuture()
  • Method Details