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