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.
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.