@qualithm/kafka-client - v0.1.6
    Preparing search index...

    Type Alias ReconnectStrategy

    Opt-in auto-reconnection strategy.

    When enabled, the connection pool will attempt to replace dead connections in the background using exponential backoff. Disabled by default per the explicit resource lifecycle principle.

    type ReconnectStrategy = {
        initialDelayMs?: number;
        maxDelayMs?: number;
        maxRetries?: number;
        multiplier?: number;
    }
    Index

    Properties

    initialDelayMs?: number

    Initial delay in milliseconds before the first reconnect attempt (default: 250).

    maxDelayMs?: number

    Maximum delay in milliseconds between reconnect attempts (default: 30000).

    maxRetries?: number

    Maximum number of reconnection attempts per dead connection (default: 5).

    multiplier?: number

    Backoff multiplier applied after each failed attempt (default: 2).