#131 fedora-messaging add an example of configuration file
Merged 5 years ago by jskladan. Opened 5 years ago by cverna.
taskotron/ cverna/resultsdb fedora-messaging_testconfig  into  develop

@@ -0,0 +1,18 @@ 

+ # A sample configuration for fedora-messaging. This file is in the TOML format.

+ # For complete details on all configuration options, see the documentation.

+ 

+ amqp_url = "amqp://"

+ 

+ publish_exchange = "amq.topic"

+ 

+ # 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.

+ topic_prefix = ""

+ 

+ [tls]

+ ca_cert = "/etc/pki/tls/certs/ca-bundle.crt"

+ keyfile = "/my/client/key.pem"

+ certfile = "/my/client/cert.pem"

+ 

+ [client_properties]

+ app = "ResultsDB"

@@ -58,6 +58,7 @@ 

  # default, but you could create your own.

  # Supported values: 'dummy', 'stomp', 'fedmsg'

  MESSAGE_BUS_PLUGIN = 'fedmsg'

+ MESSAGE_BUS_KWARGS = {'modname': 'resultsdb'}

  

  ## Alternatively, you could use the 'stomp' messaging plugin.

  #MESSAGE_BUS_PLUGIN = 'stomp'

This PR add a example of configuration file for fedora-messaging and also fix the modname parameter in the config example

Pull-Request has been merged by jskladan

5 years ago