Class AzureEventHubsKafkaAutoConfiguration

java.lang.Object
com.azure.spring.cloud.autoconfigure.eventhubs.kafka.AzureEventHubsKafkaAutoConfiguration

@Deprecated @Configuration(proxyBeanMethods=false) @ConditionalOnClass(org.springframework.kafka.core.KafkaTemplate.class) @ConditionalOnProperty(value="spring.cloud.azure.eventhubs.kafka.enabled", havingValue="true", matchIfMissing=true) @AutoConfigureAfter({AzureEventHubsAutoConfiguration.class,AzureEventHubsResourceManagerAutoConfiguration.class}) public class AzureEventHubsKafkaAutoConfiguration extends Object
Deprecated.
Auto-configuration for Azure Event Hubs Kafka support.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.spring.cloud.core.provider.connectionstring.StaticConnectionStringProvider<com.azure.spring.cloud.core.service.AzureServiceType.EventHubs>
    eventHubsKafkaConnectionString(org.springframework.core.env.Environment environment)
    Deprecated.
    The static connection string provider to provide the connection string for an Event Hubs instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AzureEventHubsKafkaAutoConfiguration

      public AzureEventHubsKafkaAutoConfiguration()
      Deprecated.
  • Method Details

    • eventHubsKafkaConnectionString

      @Bean @ConditionalOnProperty("spring.cloud.azure.eventhubs.connection-string") @ConditionalOnMissingBean(value=com.azure.spring.cloud.core.service.AzureServiceType.EventHubs.class, parameterizedContainer=com.azure.spring.cloud.core.provider.connectionstring.ServiceConnectionStringProvider.class) public com.azure.spring.cloud.core.provider.connectionstring.StaticConnectionStringProvider<com.azure.spring.cloud.core.service.AzureServiceType.EventHubs> eventHubsKafkaConnectionString(org.springframework.core.env.Environment environment)
      Deprecated.
      The static connection string provider to provide the connection string for an Event Hubs instance.
      Parameters:
      environment - the Spring environment.
      Returns:
      the connection string provider.