Skip to content

KhaVNguyen/ms-event-hubs-send-receive-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sending & Receiving Events to and from Event Hubs

Prerequisites

Setup

Run the following command in a Terminal window pointing to the directory of this project:

npm install

Setup the .env file with your own connection strings, names, etc based on your own Event Hubs and Azure Storage configuration. Omit any quotations.

Run

In one terminal window, start the script to listen to and receive the events:

node receive.js

In another terminal window, start the script to send the events:

node send.js

You should see the events logged out in the console on the receiving end.

Additional Information

https://docs.microsoft.com/en-us/azure/event-hubs/get-started-node-send-v2

About

Sending and Receiving Events to and from Event Hubs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published