Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务发现自动配置顺序 #1114

Closed
hligaty opened this issue Sep 15, 2023 · 2 comments · Fixed by #1115, #1116, #1117 or #1118
Closed

服务发现自动配置顺序 #1114

hligaty opened this issue Sep 15, 2023 · 2 comments · Fixed by #1115, #1116, #1117 or #1118
Labels
question Further information is requested

Comments

@hligaty
Copy link
Contributor

hligaty commented Sep 15, 2023

com.tencent.cloud.polaris.discovery.PolarisDiscoveryAutoConfiguration 使用 @Import 导入配置类 PolarisDiscoveryClientConfiguration,而不是在 org.springframework.boot.autoconfigure.AutoConfiguration.imports 文件中导入,这样 PolarisDiscoveryClientConfiguration 上的 @AutoConfigureBefore 注解应该是不生效的?

@hligaty hligaty added the question Further information is requested label Sep 15, 2023
@SkyeBeFreeman
Copy link
Collaborator

这里的@AutoConfigureBefore应该是可以去掉,可以确认一下。

@hligaty
Copy link
Contributor Author

hligaty commented Sep 16, 2023

这里的@AutoConfigureBefore应该是可以去掉,可以确认一下。

@SkyeBeFreeman@Import 引入的类 PolarisDiscoveryClientConfigurationPolarisReactiveDiscoveryClientConfiguration 上的 @AutoConfigureBefore@AutoConfigureAfter 去掉后没有发现其他问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment