astarte-platform / astarte_vmq_plugin

Astarte VerneMQ plugin publishes incoming messages on an AMQP exchange with some additional metadata, so they can be processed by other components.
http://astarte-platform.org/
Apache License 2.0
16 stars 10 forks source link

Move AMQP publish logic to Mississippi #94

Open Annopaolo opened 4 days ago

Annopaolo commented 4 days ago

Use the Mississippi framework to send messages to AMQP. This allows to retain the same ordering and delivery guarantees, while moving to the external component all the intricacies of handling messages in a distributed setting. This will also increase the ease of contributing to the core message handling logic, as now code only works on what to do before a message is sent, instead of also including how to receive a message.

This PR is closely related to https://github.com/astarte-platform/astarte/pull/995 and should be merged together.