prorm API Reference
    Preparing search index...

    Interface PulsarStoreOptions

    Connection options for PulsarStore.

    Mirrors the pulsar-client Client constructor options. serviceUrl is the Pulsar broker URL, e.g. pulsar://localhost:6650. A pre-built pulsar-client Client instance can be injected via client, in which case connect() uses it directly and skips loading the driver (this is how tests inject a mock).

    interface PulsarStoreOptions {
        serviceUrl?: string;
        client?: any;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Any additional pulsar-client Client options passed straight through.

    Index
    serviceUrl?: string

    Pulsar broker service URL, e.g. pulsar://localhost:6650.

    client?: any

    A pre-built pulsar-client Client instance. When provided, connect() uses it directly and does not require('pulsar-client').