prorm API Reference
    Preparing search index...

    Interface EventHubsStoreOptions

    Connection options for EventHubsStore.

    interface EventHubsStoreOptions {
        connectionString?: string;
        eventHubName?: string;
        consumerGroup?: string;
        client?: EventHubsModuleLike;
    }
    Index
    connectionString?: string

    Event Hubs namespace connection string.

    eventHubName?: string

    Default event hub (entity) name used when publish/subscribe omit one.

    consumerGroup?: string

    Consumer group used by subscribe(). Defaults to '$Default'.

    client?: EventHubsModuleLike

    A pre-built @azure/event-hubs module (or a mock exposing the two client constructors). When provided, connect() uses it directly and does NOT require the driver — this is how tests inject mocks.