mdevilliers / redishappy

Redis Sentinel high availabillity daemon
Apache License 2.0
114 stars 23 forks source link

Redis gets unregistered from Consul after 1 minute #64

Open protoss-player opened 7 years ago

protoss-player commented 7 years ago

Redishappy-consul registers services in Consul via Catalog API, and hence Redis get unregistered in 1 minute. There is a workaround described in readme of https://github.com/lesaux/puppet-redishappy, which is to use a separate node name for all Redis instances.

@mdevilliers, could you explain why Catalog API is being used instead of (seemingly) more appropriate Agent API? In case there are any particular reasons, I suggest a notice be added into Redishappy's readme highlighting this workaround.

Thanks.