Service discovery helps in discovering stolon standby keepers for performing readonly queries
register
watches the keeper and registers them in consul
for service discovery.
clients
which want to do readonly query can find the standby keepers by querying consul
use
--register-master
flag to register master for performing readonly queries, don't use it for write queries, always useproxy
to connect to master, refer here for more info