Integrating Azure event hub
Discover how you can listen to Transatel events by registering Azure event hub data stream
Through this guide you will learn how to
- Identify relevant events for your use cases and their payload definition
- Create an Azure event hub data stream
- Register your Azure event hub data stream for the selected events
- Test your integration by sending test events of your choice
- Activate your Azure event hub data stream whenever you are ready
1. Identify relevant events
Start by reviewing all available Transatel events and identify which ones may be useful to trigger your logic:
Then review the specifications of those events that your endpoint will have to process.
2. Create an Azure event hub
To receive events, you will need to create an Azure event hub.
Go to Azure portal and:
- Create an
Event Hubs Namespace - Create an
Event Hubs - Create a
Shared Access Policy(Send only) - Get the
connection stringfrom theShared Access Policyyou just created, it will be useful to register your data stream later
3. Register your Azure event hub data stream
Go to the Transatel Console and:
- Click the
Add data streambutton under theData Streamtab - Select which events you want to receive
- Choose
Azure event hubas destination type - Fill all the data stream information and click on the
Create data streambutton
Once done you should see your new data stream listed under the Data stream tab.
4. Test your integration
To do so, go to the Transatel Console and:
- Click on the data stream for which you want to simulate an event under the
Data streamtab - Click on the
Send stream eventbutton, then select the event type you want to simulate and click on theSendbutton
This operation can be used to:
- Troubleshoot communication issues between our platform and Azure
- Validate the correct implementation on your platform
5. Activate your Azure event hub data stream
Now that everything works great, let's activate your data stream and start receiving real events!
To do so, go to the Transatel Console and:
- Click on
...on the corresponding data stream you want to activate under theData streamtab - Activate by clicking on
Enable
What to do next?
Learn more about Transatel events by checking overviews: