Files
nomad/command
Drew Bailey da45c95956 Send events to EventSinks (#9171)
* Process to send events to configured sinks

This PR adds a SinkManager to a server which is responsible for managing
managed sinks. Managed sinks subscribe to the event broker and send
events to a sink writer (webhook). When changes to the eventstore are
made the sinkmanager and managed sink are responsible for reloading or
starting a new managed sink.

* periodically check in sink progress to raft

Save progress on the last successfully sent index to raft. This allows a
managed sink to resume close to where it left off in the event of a lost
server or leadership change

dereference eventsink so we can accurately use the watchch

When using a pointer to eventsink struct it was updated immediately and our reload logic would not trigger
2020-10-26 17:27:54 -04:00
..
2020-10-26 17:27:54 -04:00
2018-05-11 18:05:43 -04:00
2020-10-22 11:49:37 -04:00
2020-10-22 11:49:37 -04:00
2018-05-21 18:00:14 -05:00
2020-10-21 14:05:46 -04:00
2020-10-21 15:46:57 -04:00
2020-10-21 14:05:46 -04:00
2020-10-22 11:49:37 -04:00
2020-10-21 14:05:46 -04:00
2020-10-21 15:46:57 -04:00
2019-09-09 10:04:41 -07:00
2019-05-13 10:01:19 -04:00
2020-01-02 14:42:27 -08:00
2018-06-14 15:48:01 +02:00
2020-02-16 16:04:59 -06:00
2020-02-16 16:04:59 -06:00
2018-05-11 18:05:43 -04:00
2020-10-19 09:30:15 -04:00
2020-07-23 18:41:38 +03:00