@ -17,18 +17,13 @@
package com.tencent.cloud.polaris.discovery.reactive ;
import com.tencent.cloud.polaris.discovery.PolarisDiscoveryAutoConfiguration ;
import com.tencent.cloud.polaris.discovery.PolarisServiceDiscovery ;
import org.springframework.boot.autoconfigure.AutoConfigureAfter ;
import org.springframework.boot.autoconfigure.AutoConfigureBefore ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.context.properties.EnableConfigurationProperties ;
import org.springframework.cloud.client.ConditionalOnDiscoveryHealthIndicatorEnabled ;
import org.springframework.cloud.client.ConditionalOnReactiveDiscoveryEnabled ;
import org.springframework.cloud.client.ReactiveCommonsClientAutoConfiguration ;
import org.springframework.cloud.client.discovery.composite.reactive.ReactiveCompositeDiscoveryClientAutoConfiguration ;
import org.springframework.cloud.client.discovery.health.DiscoveryClientHealthIndicatorProperties ;
import org.springframework.cloud.client.discovery.health.reactive.ReactiveDiscoveryClientHealthIndicator ;
import org.springframework.context.annotation.Bean ;
@ -42,8 +37,6 @@ import org.springframework.context.annotation.Configuration;
@Configuration ( proxyBeanMethods = false )
@ConditionalOnReactiveDiscoveryEnabled
@EnableConfigurationProperties ( DiscoveryClientHealthIndicatorProperties . class )
@AutoConfigureAfter ( { PolarisDiscoveryAutoConfiguration . class , ReactiveCompositeDiscoveryClientAutoConfiguration . class } )
@AutoConfigureBefore ( { ReactiveCommonsClientAutoConfiguration . class } )
public class PolarisReactiveDiscoveryClientConfiguration {
@Bean