azure-sdk-for-js/sdk/eventhub/README.md

3.5 KiB

Azure Event Hubs client libraries for JavaScript

Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. This lets you process and analyze the massive amounts of data produced by your connected devices and applications.

Libraries for resource management

To manage your Azure Event Hubs resources via the Azure Resource Manager, you would use the below package.

NPM Package Reference
@azure/arm-eventhub API Reference for @azure/arm-eventhub

Libraries for data access

To send and receive events from an Azure Event Hub instance, you would use the below packages.

NPM Package Reference Samples
@azure/event-hubs API Reference for @azure/event-hubs Samples for sending & receiving events
@azure/eventhubs-checkpointstore-blob API Reference for @azure/eventhubs-checkpointstore-blob Samples for using checkpoint store when receiving events

There is an older package @azure/event-processor-host meant for receiving events from multiple partitions such that the partition load is balanced across multiple instances of your application. This is done by making use Azure Storage Blob to store checkpoints. This package is deprecated and has been replaced by the packages listed in the above table. Follow the migration guide to move your application off of this package.

Impressions