Class PubSubHealthIndicatorAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<PubSubHealthIndicator,PubSubTemplate>
com.google.cloud.spring.autoconfigure.pubsub.health.PubSubHealthIndicatorAutoConfiguration

@AutoConfiguration @ConditionalOnClass({org.springframework.boot.actuate.health.HealthIndicator.class,PubSubTemplate.class}) @ConditionalOnBean(PubSubTemplate.class) @ConditionalOnEnabledHealthIndicator("pubsub") @AutoConfigureBefore(org.springframework.boot.actuate.autoconfigure.health.HealthContributorAutoConfiguration.class) @AutoConfigureAfter(GcpPubSubAutoConfiguration.class) @EnableConfigurationProperties(PubSubHealthIndicatorProperties.class) public class PubSubHealthIndicatorAutoConfiguration extends org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<PubSubHealthIndicator,PubSubTemplate>
Auto-configuration for PubSubHealthIndicator.
Since:
1.2.2
  • Constructor Details

  • Method Details

    • pubSubHealthContributor

      @Bean @ConditionalOnMissingBean(name={"pubSubHealthIndicator","pubSubHealthContributor"}) public org.springframework.boot.actuate.health.HealthContributor pubSubHealthContributor(Map<String,PubSubTemplate> pubSubTemplates)