Skip to main content

rskafka_client_error_to_retry_hint

Function rskafka_client_error_to_retry_hint 

Source
pub fn rskafka_client_error_to_retry_hint(error: &Error) -> RetryHint
Expand description

Maps an rskafka client error to a conservative retry hint.

rskafka already retries most transient Kafka/network errors internally. This helper only marks errors retryable when rskafka has exhausted its own retry loop or returns an explicit client timeout.