예제 #1
0
 public IQueueAdapterReceiver CreateReceiver(QueueId queueId)
 => new KafkaAdapterReceiver(
     _queueProperties[queueId.GetStringNamePrefix()],
     _options,
     _serializationManager,
     _loggerFactory
     );
예제 #2
0
 public virtual string GetNameForQueue(QueueId queueId)
 {
     return(options.UseQueuePartitioning
         ? $"{queueId.GetStringNamePrefix()}-{queueId.GetNumericId()}"
         : queueId.GetStringNamePrefix());
 }