ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying default EventHubProducerClient for anything not wrapped here.
Send one message to eventHubName (or the store's default hub) as a
single-event batch via EventHubProducerClient.sendBatch. The message is
encoded per the module's rules (string/Buffer as-is, else JSON string).
Subscribe a new EventHubConsumerClient to eventHubName, invoking
handler once per received event. Returns a subscription whose stop()
closes both the underlying subscription and consumer client; the
subscription is tracked so disconnect() closes it too.
EventHubsStorewraps@azure/event-hubsproducer/consumer clients and exposes event publishing and consumer subscriptions.