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 Object
Result for a CompletableFuture after a send.
Author:
Gary Russell
  • Constructor Details

    • SendResult

      public SendResult(org.apache.kafka.clients.producer.ProducerRecord<K,V> producerRecord, org.apache.kafka.clients.producer.RecordMetadata recordMetadata)
  • Method Details

    • getProducerRecord

      public org.apache.kafka.clients.producer.ProducerRecord<K,V> getProducerRecord()
    • getRecordMetadata

      public org.apache.kafka.clients.producer.RecordMetadata getRecordMetadata()
    • toString

      public String toString()
      Overrides:
      toString in class Object