private static void RegisterKafkaWebhooksAgentSettings(
     ContainerBuilder containerBuilder,
     KafkaWebhooksAgentSettings settings)
 {
     containerBuilder.RegisterInstance(settings)
     .As <KafkaWebhooksAgentSettings>();
 }
예제 #2
0
 public KafkaWebhooksAgent(
     ILogger logger,
     BaseConsumerSettings consumerSettings,
     KafkaWebhooksAgentSettings agentSettings,
     CancellationToken cancellationToken,
     Consumer <string, string> confluentKafkaConsumer)
     : base(logger, consumerSettings, cancellationToken, confluentKafkaConsumer)
 {
     AgentSettings = agentSettings;
 }