Skip to content

EventHubAdapterFactory Constructors

Queue adapter factory which allows the PersistentStreamProvider to use EventHub as its backend persistent event queue.

EventHubAdapterFactory(string, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IEnvironmentStatisticsProvider)

View source
public EventHubAdapterFactory(string name, EventHubOptions ehOptions, EventHubReceiverOptions receiverOptions, EventHubStreamCachePressureOptions cacheOptions, StreamCacheEvictionOptions cacheEvictionOptions, StreamStatisticOptions statisticOptions, IEventHubDataAdapter dataAdapter, IServiceProvider serviceProvider, ILoggerFactory loggerFactory, IEnvironmentStatisticsProvider environmentStatisticsProvider)
Initializes a new instance of the EventHubAdapterFactory class.

Parameters

namestring
The stream provider name.
ehOptionsEventHubOptions
The Event Hub connection options.
receiverOptionsEventHubReceiverOptions
The Event Hub receiver options.
cacheOptionsEventHubStreamCachePressureOptions
The Event Hub cache pressure options.
cacheEvictionOptionsStreamCacheEvictionOptions
The stream cache eviction options.
statisticOptionsStreamStatisticOptions
The stream statistics options.
dataAdapterIEventHubDataAdapter
The adapter used to convert between Event Hubs data and Orleans stream data.
serviceProviderIServiceProvider
The service provider.
loggerFactoryILoggerFactory
The logger factory.
environmentStatisticsProviderIEnvironmentStatisticsProvider
The environment statistics provider.