Exemplo n.º 1
0
        public KafkaClientLogger(string catalogName, KafkaClientLoggerOptions options)
        {
            this._options = options;
            this._catalog = catalogName;

            var config = new Dictionary <string, object> {
                { kafkaConfigParameter, _options.BrokerList }
            };

            this._producer = new Producer <Null, string>(config, null, new StringSerializer(Encoding.UTF8));
        }
 public KafkaClientLoggerProvider(KafkaClientLoggerOptions options) : base()
 {
     this._options = options;
 }