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
@@ -84,7 +83,6 @@ Here are the important steps from the code:
84
83
1. Sends the batch of messages to the event hub using the [EventHubProducerClient.SendAsync](/dotnet/api/azure.messaging.eventhubs.producer.eventhubproducerclient.sendasync) method.
85
84
86
85
In the code sample below, replace the `<EVENT_HUB_NAMESPACE>` and `<HUB_NAME>` placeholder values for the `EventHubProducerClient` parameters.
87
-
88
86
```csharp
89
87
using Azure.Identity;
90
88
using Azure.Messaging.EventHubs;
@@ -176,7 +174,6 @@ finally
176
174
}
177
175
```
178
176
---
179
-
180
177
5. Build the project, and ensure that there are no errors.
181
178
6. Run the program and wait for the confirmation message.
182
179
@@ -194,12 +191,14 @@ finally
194
191
This section shows how to write a .NET Core console application that receives events from an event hub using an event processor. The event processor simplifies receiving events from event hubs by managing persistent checkpoints and parallel receptions from those event hubs. An event processor is associated with a specific event Hub and a consumer group. It receives events from multiple partitions in the eventhub, passingthemtoahandlerdelegateforprocessingusingcodethatyouprovide.
>Forexample, IfyouarerunningonAzureStackHubversion2005, thehighestavailableversionfor the Storage service is version 2019-02-02. By default, the Event Hubs SDK client library uses the highest available version on Azure (2019-07-07 at the time of the release of theSDK). Inthiscase, besidesfollowingstepsinthissection, youwillalsoneedtoaddcodetotargettheStorageserviceAPIversion2019-02-02. ForanexampleonhowtotargetaspecificStorageAPIversion, see [thissampleonGitHub](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/eventhub/Azure.Messaging.EventHubs.Processor/samples/).
201
199
202
200
201
+
203
202
### Create an Azure Storage Account and a blob container
0 commit comments