# node-red-contrib-azure-eventhub-receive **Repository Path**: kratos123/node-red-contrib-azure-eventhub-receive ## Basic Information - **Project Name**: node-red-contrib-azure-eventhub-receive - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-09 - **Last Updated**: 2022-01-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # node-red-contrib-azure-event-hub-receive **node-red-contrib-azure-event-hub-receive** is a Node-RED node that allows you to receive messages from an Azure Event Hub. ![](images/basicflow.png) ## Installation ``` npm install -g node-red-contrib-azure-eventhub-receive ``` # Usage *We assume you have an Event Hub up and running in your Azure subscription. If you don't have an Event Hub yet, check the article Create an event hub to learn how to create an Event Hub.* Drop the **node-red-contrib-azure-event-hub-receive** node on a Flow. Double click on the node to open the settings and configure: - **Event Hub Connection String**: the connection string of the event hug, it can be retrieved from the Azure Portal. It should look like *Endpoint=sb://XXX.servicebus.windows.net/;SharedAccessKeyName=XXX;SharedAccessKey=XXX;EntityPath=XXX* - **Event Hub Consumer Group**: the name of the Consumer Group you would like to use. If you didn't create any custom Consumer Groups in your Event Hub, you can use the default name which is *$default* ![](images/propertiespane.png) Connect the ouput of the node to another node, for example the built-in **debug** node. ![](images/connectedtodebug.png) **Deploy** the flow, if the connection to the Event Hub is succesful, you'll see a green icon beneath the it's shape with the **connected** label. ![](images/connectedstatus.png) When messages are sent to your Event Hub, you'll see the message bodies in the **debug** section of Node-RED (top right). ![](images/debugoutput.png)