Class ProducerFailedException

All Implemented Interfaces:
Serializable

public class ProducerFailedException extends CancelTaskException
Network-stack level Exception to notify remote receiver about a failed partition producer.
See Also:
  • Constructor Details

    • ProducerFailedException

      public ProducerFailedException(Throwable cause)
      The cause of the producer failure.

      The cause will be stored as a SerializedThrowable, because it might be an instance of a user level Exception, which may not be possible to deserialize by the remote receiver's system class loader.