eidetic_projector v0.1.0-alpha4 Eidetic.Projector.Middleware.MongoDbIdempotence
Idempotence middleware for Eidetic Projector.
This middleware will store records in mongoDB whenever a message has been
processed by the consumer. It will pass a replay
modifier to the handler
for each event, which is true
if it’s been processed by this consumer before;
false
otherwise.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Postprocess Implementation
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
process(atom, bundle)
Postprocess Implementation:
If needed, update mongoDB