application.properties:
spring.application.name=zookeeperserver
server.port=8090
spring.cloud.zookeeper.connect-string=zookeeperIp:2181
spring.cloud.zookeeper.discovery.instance-host=localIp
spring.cloud.zookeeper.discovery.instance-port=8090
Service started successfully
zookeeper