Class KafkaSendFailureException

All Implemented Interfaces:
Serializable

public class KafkaSendFailureException extends MessagingException
An exception that is the payload of an ErrorMessage when a send fails.
Since:
5.4
Author:
Gary Russell, Artem Bilan
See Also:
  • Constructor Details

    • KafkaSendFailureException

      public KafkaSendFailureException(Message<?> message, org.apache.kafka.clients.producer.ProducerRecord<?,?> record, Throwable cause)
  • Method Details

    • getRecord

      public org.apache.kafka.clients.producer.ProducerRecord<?,?> getRecord()
    • toString

      public String toString()
      Overrides:
      toString in class MessagingException