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

    Type Alias KafkaOptions

    Options for creating a Kafka client.

    type KafkaOptions = {
        config: KafkaConfig;
        maxConnectionsPerBroker?: number;
        reconnect?: ReconnectStrategy;
        socketFactory: SocketFactory;
    }
    Index

    Properties

    config: KafkaConfig

    Kafka client configuration.

    maxConnectionsPerBroker?: number

    Maximum connections per broker (default: 1).

    reconnect?: ReconnectStrategy

    Opt-in reconnection strategy. When set, the pool replaces dead connections in the background with exponential backoff. Disabled by default.

    socketFactory: SocketFactory

    Factory function for creating runtime-specific sockets.