With latest release of Spring Cloud 2020.0 (aka Ilford) it's now easier than ever to setup Zookeeper configuration support, but the official documentation currnently lacks some straight-forward example.
Add the spring-cloud-dependencies
bom to the dependencyManagement
section of you pom.xml
<dependencyManagement>