From 0d848e3644d206693d439e6d43c83f635d76d6e3 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 18 Feb 2020 11:21:40 -0500 Subject: [PATCH] openshift-apps/coreos-ostree-importer: add passive_declares to messaging config Setting `passive_declares = true` means the client will not attempt to create the queue on the server, but will just check to make sure it exists and configured correctly. --- .../templates/fedora-messaging.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/openshift-apps/coreos-ostree-importer/templates/fedora-messaging.toml b/roles/openshift-apps/coreos-ostree-importer/templates/fedora-messaging.toml index 3af3c8e0b3..18d613ed5b 100644 --- a/roles/openshift-apps/coreos-ostree-importer/templates/fedora-messaging.toml +++ b/roles/openshift-apps/coreos-ostree-importer/templates/fedora-messaging.toml @@ -1,5 +1,13 @@ # Broker address amqp_url = "amqps://{{ fedora_messaging_username }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub" +callback = "fedora_messaging.example:printer" + +# In the production/private rabbitmq servers clients can't create +# queues dynamically. The client defaults to trying to create them. +# Setting this to true means the client will not attempt to create +# the queue on the server, but will just check to make sure it exists +# and configured correctly. +passive_declares = true # The topic_prefix configuration value will add a prefix to the topics of every sent message. # This is used for migrating from fedmsg, and should not be used afterwards.