Closed guanw closed 4 years ago
initially I want record to expire with a ttl because we might have a separate service that does healthcheck polling and remove any invalid hosts.
etcd: https://godoc.org/github.com/coreos/etcd/clientv3#example-Lease--Grant
Update: with envoy integrated this might not be necessary.
initially I want record to expire with a ttl because we might have a separate service that does healthcheck polling and remove any invalid hosts.
etcd: https://godoc.org/github.com/coreos/etcd/clientv3#example-Lease--Grant