Class SendResult<K,V>
- java.lang.Object
-
- org.springframework.kafka.support.SendResult<K,V>
-
- Type Parameters:
K- the key type.V- the value type.
public class SendResult<K,V> extends java.lang.ObjectResult for a ListenableFuture after a send.- Author:
- Gary Russell
-
-
Constructor Summary
Constructors Constructor Description SendResult(org.apache.kafka.clients.producer.ProducerRecord<K,V> producerRecord, org.apache.kafka.clients.producer.RecordMetadata recordMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.kafka.clients.producer.ProducerRecord<K,V>getProducerRecord()org.apache.kafka.clients.producer.RecordMetadatagetRecordMetadata()java.lang.StringtoString()
-