Skip to main content

Module backoff

Module backoff 

Source
Expand description

Shared backoff configuration for transient retry loops.

Used by networked components (kafka, redis, ws, jms, xj, xslt) to throttle reconnect/polling attempts with capped exponential backoff.

This is NOT route supervision. Component backoff throttles transient polling/reconnect loops. SupervisionConfig governs route restart policy. They share math but are separate concepts.

Structsยง

BackoffConfig
Configuration for capped exponential backoff.
BackoffState
Stateful backoff tracker. Call next_delay() after each failed attempt and reset() after success.