示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupsController"/> class.
 /// </summary>
 /// <param name="consumers">The accessor class that provides access to the consumers</param>
 /// <param name="adminProducer">The producer to publish admin messages</param>
 public GroupsController(
     IConsumerAccessor consumers,
     IAdminProducer adminProducer)
 {
     this.consumers     = consumers;
     this.adminProducer = adminProducer;
 }
示例#2
0
 public ResetConsumerOffsetHandler(IConsumerAccessor consumerAccessor) => this.consumerAccessor = consumerAccessor;
示例#3
0
 public ResumeConsumersByGroupTopicHandler(IConsumerAccessor consumerAccessor) => this.consumerAccessor = consumerAccessor;
 public RewindConsumerOffsetToDateTimeHandler(IConsumerAccessor consumerAccessor) => this.consumerAccessor = consumerAccessor;
 public PauseConsumersByGroupHandler(IConsumerAccessor consumerAccessor) => this.consumerAccessor = consumerAccessor;
 public ResumeConsumerByNameHandler(IConsumerAccessor consumerAccessor) => this.consumerAccessor = consumerAccessor;
 public ChangeConsumerWorkersCountHandler(IConsumerAccessor consumerAccessor) => this.consumerAccessor = consumerAccessor;