Has anyone ever developed Java code to detect the mesos masters and leader, given a zookeeper connection?
The reason I ask is because I would like to monitor mesos to report various metrics reported by the master. This requires detecting and tracking the leading master to query its /metrics/snapshot REST endpoint. Thanks, -Don