Change Zookeeper as example for service discovery
Created by: mad01
Using Zookeeper as a example of service discovery might not be a god idea. Why? The way you run and manage zookeeper is hard, the way zookeeper knows that a service is healthy is a bit fragile and does not allow node failure in the ZK cluster. Using something like consul as the example were the health checking is done differently and is pull based makes it more robust and is probably a better example to point to
zookeeper works fine if you are looking for a AP solution for master elections and things like that but for service discovery it's not that suitable
using consul means that you need a http endpoint that consul can health check using zookeeper means that you need application logic to hold a tcp connection open