Search in sources :

Example 1 with ClientConfig

use of io.kestra.runner.kafka.configs.ClientConfig in project kestra by kestra-io.

the class AbstractInterceptor method configure.

public void configure(Map<String, ?> configs) {
    ApplicationContext applicationContext = (ApplicationContext) configs.get(KafkaStreamService.APPLICATION_CONTEXT_CONFIG);
    clientConfig = applicationContext.getBean(ClientConfig.class);
}
Also used : ApplicationContext(io.micronaut.context.ApplicationContext) ClientConfig(io.kestra.runner.kafka.configs.ClientConfig)

Aggregations

ClientConfig (io.kestra.runner.kafka.configs.ClientConfig)1 ApplicationContext (io.micronaut.context.ApplicationContext)1