API Reference Mississippi v1.0.0
View SourceModules
Documentation for Mississippi
.
A behaviour module to for implementing a DataConsumer AMQP connection.
This module defines the supervision tree of Mississippi.Consumer.
The AMQPDataConsumer process fetches messages from a Mississippi AMQP queue and sends them to MessageTrackers according to the message sharding key.
The DataUpdater process takes care of handling messages and signals for a given sharding key.
Messages are handled using the message_handler
providedin the Mississippi config,
which is a module implementing DataUpdater.Handler behaviour.
Note that the DataUpdater process has no concept of message ordering, as it is the
MessageTracker process that takes care of maitaining the order of messages.
A behaviour module to for implementing a Processor of Mississippi messages. Messages sharing the same sharding key are processed in order.
The MessageTracker process guarantees that messages sharing the same sharding key are processed in (chronological) order. Under the hood, messages are put in a FIFO queue, and the next message is processed only if the current one has been handled (either acked or rejected). In order to maintain the strong ordering guarantee, it is possible that in some corner cases a message gets processed twice, but after all with strange aeons, even death may die.
This module implements the MessageTracker process logic.
This module defines the supervision tree of Mississippi.Producer.
The entry point for publishing messages on Mississippi.