public void Subscribe(KafkaConsumerEndpoint endpoint) { _endpoints.Add(endpoint); _innerConsumer.Subscribe(_endpoints.Select(e => e.Name)); }
private void Subscribe() => _innerConsumer.Subscribe(_endpoints.SelectMany(e => e.Names));