@Configuration @AutoConfigureAfter(value=com.azure.spring.cloud.autoconfigure.context.AzureContextAutoConfiguration.class) @ConditionalOnClass(value=org.springframework.kafka.core.KafkaTemplate.class) @ConditionalOnProperty(prefix="spring.cloud.azure.eventhub", value="namespace") @EnableConfigurationProperties(value=AzureEventHubProperties.class) public class AzureEventHubKafkaAutoConfiguration extends Object
KafkaProperties| Constructor and Description |
|---|
AzureEventHubKafkaAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EventHubNamespaceManager |
eventHubNamespaceManager(com.azure.resourcemanager.AzureResourceManager azureResourceManager,
AzureProperties azureProperties) |
org.springframework.boot.autoconfigure.kafka.KafkaProperties |
kafkaProperties(EventHubNamespaceManager eventHubNamespaceManager,
AzureEventHubProperties eventHubProperties) |
@Primary @Bean public org.springframework.boot.autoconfigure.kafka.KafkaProperties kafkaProperties(EventHubNamespaceManager eventHubNamespaceManager, AzureEventHubProperties eventHubProperties)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=com.azure.resourcemanager.AzureResourceManager.class) public EventHubNamespaceManager eventHubNamespaceManager(com.azure.resourcemanager.AzureResourceManager azureResourceManager, AzureProperties azureProperties)
Copyright © 2021 Microsoft Corporation. All rights reserved.