DeliveryOutcome

sealed class DeliveryOutcome

The result of a single delivery attempt by an EventAdapter.

Since

1.0.0

Inheritors

Types

Link copied to clipboard
data class PermanentFailure(val cause: Throwable) : DeliveryOutcome

A non-recoverable error. The event will be moved directly to the dead-letter queue.

Link copied to clipboard
data class RetryableFailure(val cause: Throwable, val retryAfterMs: Long? = null) : DeliveryOutcome

A transient error occurred. The dispatcher will retry on its own schedule.

Link copied to clipboard

The event was accepted by the destination.