Using Hashicorp's Consul for cluster membership/gossip

Hi,

How easy would it be to use something like Consul from Hashicorp to deal with the discovery of new nodes in the cluster.

We are using Consul for all our other microservices and would like to do thiswith with GES as well.

Anty help appreciated.

Cheers

Sean.

You could quite easily build discovery on top with shell scripts that
talk to consul and then just pass gossip seeds via config.

Greg

Hi,

Ok, could we use the consul api, I know there are interfaces for gossip, but can these be replaced at runtime?
Cheers
Sean.

I don't know consul well enough.

I know you can grab things from the consul api and pass as gossip seeds.
You can make ES use a DNS hosted by consul for discovery of cluster.

You can probably do more than this. Maybe @Jen20 has some feedback here.