Destinations
Azure Service Bus
Send events to an Azure Service Bus queue or topic.
Configuration
Config
| Field | Type | Required | Description |
|---|---|---|---|
config.name | string | Yes | The queue or topic name |
Credentials
| Field | Type | Required | Description |
|---|---|---|---|
credentials.connection_string | string | Yes | Azure Service Bus connection string |
Example
sh
Message Format
Events are sent as Service Bus messages with:
- Message Body: The event's
datafield (JSON) - Application Properties: Event metadata
Example Message
If you publish an event:
json
Body:
json
Application Properties:
Properties include system metadata and any event metadata from the published event:
| Property | Source | Description |
|---|---|---|
event-id | System | The unique event ID |
topic | System | The event topic |
timestamp | System | Event timestamp (Unix) |
* | Event | Any additional metadata from the published event's metadata field |
Getting a Connection String
- Navigate to your Service Bus namespace in the Azure Portal
- Go to Shared access policies
- Select or create a policy with Send permission
- Copy the Primary Connection String