Configuration for retry behavior in networked sinks.
Remarks
Uses exponential backoff with optional jitter for network resilience.
Retry delay is calculated as: min(maxMs, baseMs * 2^attempt) + jitter
Example
constpolicy: RetryPolicy = { retries:3, // Try up to 3 times baseMs:100, // Start with 100ms delay maxMs:5000, // Cap at 5 seconds jitter:true// Add randomness to prevent thundering herd };
Configuration for retry behavior in networked sinks.
Remarks
Uses exponential backoff with optional jitter for network resilience. Retry delay is calculated as: min(maxMs, baseMs * 2^attempt) + jitter
Example