[fedora-messaging] Adding topic_prefix back

Removing the topic_prefix from fedora messaging config files was a bit
premature. So let's put them back in place.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny
2025-02-14 12:37:24 +01:00
parent e4e9f1ca3c
commit 6b0a66cb37
21 changed files with 149 additions and 0 deletions

View File

@@ -1,5 +1,13 @@
amqp_url = "amqps://{{ msg_username }}{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
# 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.
{% if env == "staging" %}
topic_prefix = "org.fedoraproject.stg"
{% else %}
topic_prefix = "org.fedoraproject.prod"
{% endif %}
[tls]
ca_cert = "/etc/pki/rabbitmq/{{ msg_username }}/ca.crt"
keyfile = "/etc/pki/rabbitmq/{{ msg_username }}/{{ msg_username }}.key"