RabbitMQ and Drupal, a perfect match

  • Worker: A specific class that processes a message, also handles failures in case it could not process the message
  • Queue: A class that represents a RabbitMQ queue and allows for messages to be pushed to the corresponding queue. Each queue is linked to a worker
  • Consumer: Process that consumes a specific queue and its messages. Each queue can have zero or more consumers
  • Define queues and workers
  • Push messages to queues
  • Consume queues with a drush command or a background process
RabbitMQ logo

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store