public KafkaExtensionConfigProvider( IConfiguration config, IOptions <KafkaOptions> options, ILoggerFactory loggerFactory, IConverterManager converterManager, INameResolver nameResolver, IWebJobsExtensionConfiguration <KafkaExtensionConfigProvider> configuration, IKafkaProducerProvider kafkaProducerManager) { this.config = config; this.options = options; this.loggerFactory = loggerFactory; this.converterManager = converterManager; this.nameResolver = nameResolver; this.configuration = configuration; this.kafkaProducerManager = kafkaProducerManager; this.logger = loggerFactory.CreateLogger(LogCategories.CreateTriggerCategory("Kafka")); }
public SelectionController(ILogger <SelectionController> logger, IKafkaProducerProvider kafkaProducerProvider, IConfiguration configuration) { _logger = logger; _kafkaProducerProvider = kafkaProducerProvider; _configuration = configuration; }
public KafkaMessageProducer(IKafkaProducerProvider producerProvider) { ProducerProvider = producerProvider; _log.Debug("Instance created."); }