Files
nomad/command/agent
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-01-09 15:15:10 -05:00
2020-10-22 12:21:03 -04:00
2018-03-11 17:43:19 +00:00
2017-10-13 13:12:20 -07:00
2020-10-22 12:21:03 -04:00
2020-10-22 12:21:03 -04:00
2020-05-28 15:40:17 -04:00
2020-10-22 12:21:03 -04:00
2020-10-22 12:21:03 -04:00
2018-10-16 16:56:55 -07:00
2020-10-22 15:26:32 -07:00
2020-10-14 12:23:25 -07:00
2020-10-23 14:23:00 -04:00
2017-07-20 09:36:34 -07:00
2018-09-13 10:43:40 -07:00
2020-06-07 15:46:23 -04:00
2017-07-20 09:36:34 -07:00
2018-09-13 10:43:40 -07:00
2018-09-13 10:43:40 -07:00
2017-09-07 17:04:21 -07:00
2018-02-15 13:59:02 -08:00
2017-07-20 09:36:34 -07:00
2015-09-06 18:39:03 -07:00
2017-09-19 10:08:23 -05:00
2019-01-22 15:44:31 -08:00
2019-01-22 15:44:31 -08:00
2017-07-20 09:36:34 -07:00