public EventHubOptions()
 {
     MaxBatchSize          = 10;
     EventProcessorOptions = new EventProcessorOptions()
     {
         TrackLastEnqueuedEventProperties = false,
         MaximumWaitTime         = TimeSpan.FromMinutes(1),
         PrefetchCount           = 300,
         DefaultStartingPosition = EventPosition.Earliest,
     };
     InitialOffsetOptions = new InitialOffsetOptions();
 }
 public EventHubOptions()
 {
     MaxBatchSize = 10;
     InvokeProcessorAfterReceiveTimeout = false;
     EventProcessorOptions = new EventProcessorOptions()
     {
         LoadBalancingStrategy            = LoadBalancingStrategy.Greedy,
         TrackLastEnqueuedEventProperties = false,
         MaximumWaitTime         = TimeSpan.FromMinutes(1),
         PrefetchCount           = 300,
         DefaultStartingPosition = EventPosition.Earliest,
     };
     InitialOffsetOptions = new InitialOffsetOptions();
 }
Exemple #3
0
 public EventHubOptions()
 {
     MaxEventBatchSize = 10;
     ConnectionOptions = new EventHubConnectionOptions()
     {
         TransportType = EventHubsTransportType.AmqpTcp
     };
     EventProcessorOptions = new EventProcessorOptions()
     {
         TrackLastEnqueuedEventProperties = false,
         MaximumWaitTime         = TimeSpan.FromMinutes(1),
         LoadBalancingStrategy   = LoadBalancingStrategy.Greedy,
         PrefetchCount           = 300,
         DefaultStartingPosition = EventPosition.Earliest,
         ConnectionOptions       = ConnectionOptions
     };
     InitialOffsetOptions = new InitialOffsetOptions();
 }
Exemple #4
0
 public EventHubOptions()
 {
     EventProcessorOptions   = EventProcessorOptions.DefaultOptions;
     PartitionManagerOptions = new PartitionManagerOptions();
     InitialOffsetOptions    = new InitialOffsetOptions();
 }