Düzenle

Aracılığıyla paylaş


EventHubPartitionDataGenerator Class

Definition

EHPartitionDataGenerator generate data for a EH partition, which can include data from different streams

public class EventHubPartitionDataGenerator : Orleans.ServiceBus.Providers.Testing.IDataGenerator<Microsoft.ServiceBus.Messaging.EventData>, Orleans.ServiceBus.Providers.Testing.IStreamDataGeneratingController
public class EventHubPartitionDataGenerator : Orleans.ServiceBus.Providers.Testing.IDataGenerator<Microsoft.Azure.EventHubs.EventData>, Orleans.ServiceBus.Providers.Testing.IStreamDataGeneratingController
public class EventHubPartitionDataGenerator : Orleans.ServiceBus.Providers.Testing.IDataGenerator<Azure.Messaging.EventHubs.EventData>, Orleans.ServiceBus.Providers.Testing.IStreamDataGeneratingController
type EventHubPartitionDataGenerator = class
    interface IDataGenerator<EventData>
    interface IStreamDataGeneratingController
Public Class EventHubPartitionDataGenerator
Implements IDataGenerator(Of EventData), IStreamDataGeneratingController
Inheritance
EventHubPartitionDataGenerator
Implements

Constructors

EventHubPartitionDataGenerator(EventDataGeneratorStreamOptions, Func<IStreamIdentity,IStreamDataGenerator<EventData>>, ILogger)

Constructor

EventHubPartitionDataGenerator(EventDataGeneratorStreamOptions, Func<IStreamIdentity,IStreamDataGenerator<EventData>>, ILogger)

Constructor

EventHubPartitionDataGenerator(Logger, SerializationManager, EventHubGeneratorStreamProviderSettings)

Constructor

Methods

AddDataGeneratorForStream(IStreamIdentity)

StreamDataGeneratingController control stream data generating start and stop

StopProducingOnStream(IStreamIdentity)

StreamDataGeneratingController control stream data generating start and stop

TryReadEvents(Int32, IEnumerable<EventData>) System.Object.TryReadEvents(System.Int32,System.Collections.Generic.IEnumerable{Azure.Messaging.EventHubs.EventData}@)
TryReadEvents(Int32, IEnumerable<EventData>) System.Object.TryReadEvents(System.Int32,System.Collections.Generic.IEnumerable{Microsoft.Azure.EventHubs.EventData}@)
TryReadEvents(Int32, IEnumerable<EventData>)

Data generator for test purpose

Applies to