serai-message-queue

Crates.ioserai-message-queue
lib.rsserai-message-queue
version0.1.0
sourcesrc
created_at2023-07-03 12:19:34.181547
updated_at2023-07-03 12:19:34.181547
descriptionA message queue focused on safety
homepage
repositoryhttps://github.com/serai-dex/serai/tree/develop/message-log
max_upload_size
id906950
size3,039
Luke Parker (kayabaNerve)

documentation

README

Message Log

A message log for various services to communicate over.

Each message is checked to be of the claimed origin. Then, it's added to the recipient's message queue. This queue is sequentially handled, FIFO, only dropping messages once the recipient acknowledges it's been handled.

A client which publishes an event specifies its own ID for the publication. If multiple publications with the same ID occur, they are assumed repeats and dropped.

This library always panics as its error-cases should be unreachable, given its intranet status.

Commit count: 1753

cargo fmt