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)

Parameters

namestring
ehOptionsEventHubOptions
receiverOptionsEventHubReceiverOptions
cacheOptionsEventHubStreamCachePressureOptions
cacheEvictionOptionsStreamCacheEvictionOptions
statisticOptionsStreamStatisticOptions
dataAdapterIEventHubDataAdapter
serviceProviderIServiceProvider
loggerFactoryILoggerFactory
environmentStatisticsProviderIEnvironmentStatisticsProvider