You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connectors handle every failure as if retrying could succeed. A failure that can never succeed for a given message (the downstream system rejected it, or the channel will refuse it on every attempt) is retried indefinitely or redelivered. Each retry repeats the full cost, and on the destination side it can deliver the same message again.
Proposal
A single, general convention for "retrying this will never help", not specific to any one failure:
A donkey marker, for example a NonRetriable interface any exception can implement, and one helper that checks a throwable's cause chain for it.
Sources treat a non-retriable rejection as handled with an error: log it, raise an event, and acknowledge or move the item, instead of leaving it to be retried.
Dispatchers return ERROR instead of QUEUED for a non-retriable failure.
Mark the permanent failures that exist today: however message too large falls, attachment handler failures, and possibly HTTP 4xx responses (likely behind a setting, since some 4xx responses such as 408 and 429 are transient).
Activity