EventHubAdapterFactory
class
Namespace: Orleans.Streaming.EventHubs
Queue adapter factory which allows the PersistentStreamProvider to use EventHub as its backend persistent event queue.
public class EventHubAdapterFactory : IQueueAdapter, IQueueAdapterCache, IQueueAdapterFactoryConstructors
Properties
DirectionDirection of this queue adapter: Read, Write or ReadWrite.IsRewindableDetermines whether this is a rewindable stream adapter - supports subscribing from previous point in time.NameName of the adapter. Primarily for logging purposes
Methods
Create(IServiceProvider, string)CreateAdapterCreate queue adapter.CreateQueueCache(QueueId)Create a cache for a given queue idCreateReceiver(QueueId)Creates a queue receiver for the specified queueIdGetDeliveryFailureHandler(QueueId)Acquire delivery failure handler for a queueGetQueueAdapterCacheCreate queue message cache adapterGetStreamQueueMapperCreate queue mapperInitQueueMessageBatchAsync(StreamId, IEnumerable<T>, StreamSequenceToken, Dictionary<string, object>)Writes a set of events to the queue as a single batch associated with the provided streamId.
