Esempio n. 1
0
        private EventHubAdapterReceiver MakeReceiver(QueueId queueId)
        {
            var config = new EventHubPartitionConfig
            {
                Hub       = hubSettings,
                Partition = streamQueueMapper.QueueToPartition(queueId),
            };

            return(new EventHubAdapterReceiver(config, bufferPool, logger));
        }
Esempio n. 2
0
        private EventHubAdapterReceiver MakeReceiver(QueueId queueId)
        {
            var config = new EventHubPartitionConfig
            {
                Hub = hubSettings,
                CheckpointSettings = checkpointSettings,
                StreamProviderName = adapterConfig.StreamProviderName,
                Partition          = streamQueueMapper.QueueToPartition(queueId),
            };

            return(new EventHubAdapterReceiver(config, bufferPool, logger));
        }
 public Task <IStreamFailureHandler> GetDeliveryFailureHandler(QueueId queueId)
 {
     return(StreamFailureHandlerFactory(streamQueueMapper.QueueToPartition(queueId)));
 }