We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8688e34 commit b87be0dCopy full SHA for b87be0d
sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Config/EventHubOptions.cs
@@ -7,6 +7,7 @@
7
using System.Text;
8
using Azure.Messaging.EventHubs.Consumer;
9
using Azure.Messaging.EventHubs.Primitives;
10
+using Azure.Messaging.EventHubs.Processor;
11
using Azure.Messaging.EventHubs.Producer;
12
using Microsoft.Azure.WebJobs.EventHubs.Processor;
13
using Microsoft.Azure.WebJobs.Hosting;
@@ -29,6 +30,7 @@ public EventHubOptions()
29
30
InvokeProcessorAfterReceiveTimeout = false;
31
EventProcessorOptions = new EventProcessorOptions()
32
{
33
+ LoadBalancingStrategy = LoadBalancingStrategy.Greedy,
34
TrackLastEnqueuedEventProperties = false,
35
MaximumWaitTime = TimeSpan.FromMinutes(1),
36
PrefetchCount = 300,
0 commit comments