public PayDayConnector(ILogger <PayDayConnector> logger, IKafkaConsumer consumer, IKafkaConfiguration configuration, IMessageHandler <IOutputManager> outputHandler) { _logger = logger; _consumer = consumer; _configuration = configuration; _outputHandler = outputHandler; }
public PayDayConnector(ILogger <PayDayConnector> logger, IKafkaConsumer consumer, IKafkaConfiguration configuration, IMessageHandler <IAllocationManager> outputAllocationHandler, IMessageHandler <IMetaManager> outputMetaHandler) { _logger = logger; _consumer = consumer; _configuration = configuration; _outputAllocationHandler = outputAllocationHandler; _outputMetaHandler = outputMetaHandler; setHandlers(); }
public MetaManager(ILogger <IMetaManager> logger, IKafkaConfiguration configuration, IAggregationManager aggregationManager) { _logger = logger; _configuration = configuration; _aggregationManager = aggregationManager; }
public MessagePublisher(ILogger <MessagePublisher> logger, IKafkaConfiguration kafkaConfighelper, IKafkaPublisher kafkaPublisher) { _logger = logger; _kafkaConfigHelper = kafkaConfighelper; _kafkaPublisher = kafkaPublisher; }
public Producer(IKafkaConfiguration kafkaConfiguration) { _producer = new ProducerBuilder <Null, string>(kafkaConfiguration.GetProducerConfiguration()) .Build(); }
public Consumer(IKafkaConfiguration kafkaConfiguration) { _kafkaConfiguration = kafkaConfiguration; }