felskrone / salt-eventsd

events-listener daemon for saltstack that writes data into a database
Other
51 stars 12 forks source link

Prevent events from being lost when workers fail #42

Closed syphernl closed 4 years ago

syphernl commented 9 years ago

It would be nice if eventsd could check whether the worker has completed its job and otherwise (temporarily) store the event for later processing.

Workers can fail (at least) due to:

It would be nice if eventsd could store the event in such cases and reprocess them at a later date (with a configurable expiry and a filter which tags are important to be kept/retried (unless this applies to all)).

This would probably also require a change in workers themselves which should return the status of the _store and send events.

A (temporary) failure in the worker should not longer result in lost events.