@Configuration @ConditionalOnMissingBean(value=Binder.class) @Import(value={KryoCodecAutoConfiguration.class,org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.class,KafkaBinderConfiguration.KafkaPropertiesConfiguration.class}) @EnableConfigurationProperties(value={org.springframework.cloud.stream.binder.kafka.properties.KafkaBinderConfigurationProperties.class,org.springframework.cloud.stream.binder.kafka.properties.KafkaExtendedBindingProperties.class}) public class KafkaBinderConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KafkaBinderConfiguration.JaasConfigurationProperties |
static class |
KafkaBinderConfiguration.KafkaPropertiesConfiguration |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
KafkaBinderConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ApplicationListener<?> |
jaasInitializer() |
org.springframework.cloud.stream.binder.kafka.admin.AdminUtilsOperation |
kafka09AdminUtilsOperation() |
org.springframework.cloud.stream.binder.kafka.admin.AdminUtilsOperation |
kafka10AdminUtilsOperation() |
@Bean(name="adminUtilsOperation") @Conditional(value=org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration.Kafka09Present.class) @ConditionalOnClass(name="kafka.admin.AdminUtils") public org.springframework.cloud.stream.binder.kafka.admin.AdminUtilsOperation kafka09AdminUtilsOperation()
@Bean(name="adminUtilsOperation") @Conditional(value=org.springframework.cloud.stream.binder.kafka.config.KafkaBinderConfiguration.Kafka10Present.class) @ConditionalOnClass(name="kafka.admin.AdminUtils") public org.springframework.cloud.stream.binder.kafka.admin.AdminUtilsOperation kafka10AdminUtilsOperation()
@Bean public org.springframework.context.ApplicationListener<?> jaasInitializer() throws IOException
IOException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.