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

CuratorFrameworkCustomizer can't be injected when "spring-cloud-starter-zookeeper-config" on the classpath #249

Open
TJYS opened this issue Jun 30, 2020 · 0 comments
Labels

Comments

@TJYS
Copy link

TJYS commented Jun 30, 2020

SpringBoot: 2.3.0.Release
SpringCloud: Hoxton.SR5
I want to config CuratorFramework by declaring CuratorFrameworkCustomizer as a bean. if only "spring-cloud-starter-zookeeper-discovery" on the classpath, CuratorFrameworkCustomizer can be injected into "ZooKeeperAutoConfiguration". But if I use "spring-cloud-starter-zookeeper-config" at the same time OR only use "spring-cloud-starter-zookeeper-config", it doesn't works. CuratorFrameworkCustomizer can't be injected.
I watched that "ZooKeeperAutoConfiguration" was loaded in different order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants