public Consumer(KafkaOprtions options, bool _commitOnConsume = false) { this._commitOnConsume = _commitOnConsume; _consumerConfig = new ConsumerConfig(options.Configuration); }
public Publisher(KafkaOprtions options) { this._producerConfig = new ProducerConfig(options.Configuration); rnd = new Random(); }