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.
This commit is contained in:
Dusty Mabe 2020-02-18 11:21:40 -05:00 committed by Pierre-Yves Chibon
parent 9ad9f13a55
commit 0d848e3644

View file

@ -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.