It's not posible to fire events in the absence of server nodes
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
#### Overview of the Issue
i'm running a development cluster with a server and a client. When server goes into an outage I cannot send events anymore. The consul documentation says:
While the details are not important for using events, an understanding of the semantics is useful. The gossip layer will make a best-effort to deliver the event, but there is no guaranteed delivery. Unlike most Consul data, which is replicated using consensus, event data is purely peer-to-peer over gossip. This means it is not persisted and does not have a total ordering. In practice, this means you cannot rely on the order of message delivery. An advantage **however is that events can still be used even in the absence of server nodes or during an outage.**
#### Reproduction Steps
I'm using two laptops to make the nodes independent. When the server laptop node goes to stand by mode, I lost all communication between nodes. In this case I do from client console:
consul event -name=Hi
And get the following response
**Error firing event: Unexpected response code: 500 (No known Consul servers)**
So, is it posible to fire events in the case of no server is running?
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.