AzureSender Section
The "AzureSender" section provides configuration settings for a native Azure EventHubs client. The Azure EventHubs namespace must have been set up previously with individual Event Hubs defined for each topic to be used
"AzureSender" : {
"EventHubsNamespace" : "<event-hubs-connection-namespace>",
"Authentication" : {
"Type" : "AzureClientSecret",
"TenantId" : "<azure-ad-tenant-id>",
"ClientId" : "<azure-ad-client-id>",
"ClientSecret" : "<azure-ad-client-secret>" }
The "AzureSender" parameters are listed in the following table.
Parameter | Description |
---|---|
EventHubsNamespace | The fully‑qualified namespace for the EventHubs Namespace. (Not required if the Authentication parameter is "ConnectionString".) |
Authentication |
The AzureSender section Authentication parameter Type can be one of the following.
For details, see "Type‑Specific Parameters", later in this chapter. |
An example of the "ConnectionString" parameter is as follows.
"AzureSender" : { "EventHubsNamespace" : "<event-hubs-connection-namespace>",
"Authentication" : { "Type" : "ConnectionString",
"ConnectionString" : "Endpoint=sb://myeventhubs.servicebus.windows.net/; SharedAccessKeyName=RootManageSharedAccessKey; SharedAccessKey=abc123..." }