Tecsisa / constructr-consul

This library enables to use Consul as cluster coordinator in a ConstructR based node
Apache License 2.0
32 stars 15 forks source link

Create a session with a node name #17

Closed gerson24 closed 8 years ago

gerson24 commented 8 years ago

Sessions must be associated with a node. Reason: https://www.consul.io/docs/internals/sessions.html

The contract that Consul provides is that under any of the following situations, the session will be invalidated:

  • Node is deregistered