amqp_url = "amqps://logging{{ 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

[tls]
ca_cert = "/etc/pki/fedora-messaging/rabbitmq-ca.crt"
keyfile = "/etc/pki/fedora-messaging/logging.key"
certfile = "/etc/pki/fedora-messaging/logging.crt"

[client_properties]
app = "logging"
