You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+60-6Lines changed: 60 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,9 @@ of [Azure Event Grid](https://azure.microsoft.com/en-au/services/event-grid/) to
12
12
with the `Microsoft.Azure.EventGrid` client library. Both the `EventGrid` schema and the `CloudEvents v1.0` schema are
13
13
supported.
14
14
15
-
> **Note:** This simulator is intended for **local development and testing only**. It is not designed for production use. For production workloads, use the official [Azure Event Grid](https://azure.microsoft.com/en-au/services/event-grid/) service.
15
+
> **Note:** This simulator is intended for **local development and testing only**. It is not designed for production
16
+
> use. For production workloads, use the
17
+
> official [Azure Event Grid](https://azure.microsoft.com/en-au/services/event-grid/) service.
16
18
17
19
## Installation
18
20
@@ -98,11 +100,15 @@ An example of one topic with one subscriber is shown below.
98
100
|`serviceBusSharedAccessKeyName`| (Optional) Default shared access key name for Service Bus. |
99
101
|`serviceBusSharedAccessKey`| (Optional) Default shared access key for Service Bus. |
100
102
|`storageQueueConnectionString`| (Optional) Default Storage Queue connection string for all Storage Queue subscribers in this topic. Subscribers can override with their own. |
103
+
|`eventHubConnectionString`| (Optional) Default Event Hub connection string for all Event Hub subscribers in this topic. Subscribers can override with their own. |
104
+
|`eventHubNamespace`| (Optional) Default Event Hub namespace (without `.servicebus.windows.net`). Use with `eventHubSharedAccessKeyName` and `eventHubSharedAccessKey`. |
105
+
|`eventHubSharedAccessKeyName`| (Optional) Default shared access key name for Event Hub. |
106
+
|`eventHubSharedAccessKey`| (Optional) Default shared access key for Event Hub. |
101
107
102
108
### Subscriber Settings
103
109
104
-
The simulator supports three subscriber types: **HTTP webhooks**, **Azure Service Bus** (queues and topics), and**Azure
105
-
Storage Queues**.
110
+
The simulator supports four subscriber types: **HTTP webhooks**, **Azure Service Bus** (queues and topics), **Azure
|`connectionString`| The Event Hub connection string. Can be omitted if `eventHubConnectionString` is set at the topic level. |
236
+
|`namespace`| The Event Hub namespace (without `.servicebus.windows.net` suffix). Alternative to `connectionString`. Can inherit from topic-level settings. |
237
+
|`sharedAccessKeyName`| The shared access key name (e.g., `RootManageSharedAccessKey`). Used with `namespace`. |
238
+
|`sharedAccessKey`| The shared access key. Used with `namespace`. |
239
+
|`eventHubName`| The name of the Event Hub to send events to. (Required) |
240
+
|`deliverySchema`| (Optional) Override the delivery schema. Values: `EventGridSchema` or `CloudEventV1_0`. |
241
+
|`properties`| (Optional) Custom delivery properties to add to Event Hub messages. See Service Bus Delivery Properties above for format. |
242
+
|`filter`| (Optional) Event filtering configuration. See [Filtering Events](#filtering-events) section. |
0 commit comments