Make sure you have an update to build. Either pull from stage or run ds build
.
- Install Rabbit
If you have brew installed, http://www.rabbitmq.com/install-homebrew.html
Follow the steps for installing, adding to your .bash_profile and then you can run
rabbitmq-server
Locally, you can now access RabbitMQ at http://localhost:15672 guest/guest
You'll see tabs for Exchanges and Queues.
An Exchange ties the Queues together. If you want to send a messag,e you send directly to an Exchange, not a Queue.
An app called a Producer sends messages to an Exchange. that exchange takes care of the distribution of the message ot th equeus attached to it.
Producers and Consumers use settings to set up and access the Queues
All settings happen at the file level, so for a new Queue for Zendesk, we'll add an entry in the
message_broker_producer
module. This is not the ideal setup, but needed to get Drupal to join the team.** (add more details here later)We'll also need matching settings in the mb-config.inc, which is the messagebroker_config repo.
https://github.com/DoSomething/messagebroker-config/blob/master/mb-config.inc
-- This is where you add a new queue for both Consumer (and a non-drupal Producer).
-- For Drupal, we are adding the queue for the drupal producer in
message_broker_producer.module
. These can be seen in the UI at admin/config/services/message-broker-producer/mq-settings, underneath Producer Configuration > Queues