Module carrot_cake::consumers

source ·
Expand description

Facilities to consume messages from a RabbitMq queue. Check out ConsumerGroup as a starting point.

Modules§

  • A collection of ready-made hooks for the most common use cases.

Structs§

Enums§

  • The action we asked the broker to take when finalising the processing of the current message.
  • Types of failure when handling a message. Used by the pub sub framework to handle retries/nacks/dead letter queues/etc.
  • Determines if a failed message should be re-queued.

Traits§

Functions§

  • Retrieve an item from message-local storage based on its type.
  • Insert an item in message-local storage. If another item with the same type was already stored in message-local storage it gets replaced.