Пример #1
0
        public void Subscribe(KafkaConsumerEndpoint endpoint)
        {
            _endpoints.Add(endpoint);

            _innerConsumer.Subscribe(_endpoints.Select(e => e.Name));
        }
Пример #2
0
 private void Subscribe() => _innerConsumer.Subscribe(_endpoints.SelectMany(e => e.Names));