public AggregationManager(ILogger <IAggregationManager> allocationLogger, IKafkaPublisher publisher, IEnumerable <AllocationMessage> allocationRepo, IEnumerable <MetaMessage> metaRepo)
 {
     _logger         = allocationLogger;
     _publisher      = publisher;
     _allocationRepo = allocationRepo.ToList();
     _metaRepo       = metaRepo.ToList();
 }
 public MessagePublisher(ILogger <MessagePublisher> logger, IKafkaConfiguration kafkaConfighelper, IKafkaPublisher kafkaPublisher)
 {
     _logger            = logger;
     _kafkaConfigHelper = kafkaConfighelper;
     _kafkaPublisher    = kafkaPublisher;
 }
 public GeolocalizarHandler(IGenericsCommand command, IKafkaPublisher publisher)
 {
     _command   = command;
     _publisher = publisher;
 }
Exemplo n.º 4
0
 public Handler(IKafkaPublisher publisher, IOpenStreetMapClient client)
 {
     _publisher = publisher;
     _client    = client;
 }