greenwave: Include the topic_prefix in fedora-messaging's config

This commit is contained in:
Pierre-Yves Chibon 2019-04-05 15:19:20 +02:00
parent acdecfd3ac
commit 25b12364ea

View file

@ -4,6 +4,12 @@
amqp_url = "amqps://greenwave{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
{% if env == "staging" %}
topic_prefix = "org.fedoraproject.stg"
{% else %}
topic_prefix = "org.fedoraproject.prod"
{% endif %}
publish_exchange = "amq.topic"
passive_declares = true