protected override async Task ExecuteAsync(CancellationToken cancellationToken) { _cancellationToken = cancellationToken; var consumerTasks = _consumerFactory.CreateConsumers().Select(c => c.StartConsumeAsync(cancellationToken)); await _subscriber.StartAsync(cancellationToken); await Task.WhenAll(consumerTasks); }