From 963b930287f2301c8bf9fa93acd2c7c9273a1eb7 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 18 Nov 2017 01:03:16 +0100 Subject: [PATCH] amqp: added example configuration --- etc/example.conf | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/etc/example.conf b/etc/example.conf index 984a9d862..2420eac5a 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -256,7 +256,26 @@ nodes = { fields = [ "a", "b", "c" ] - } + }, + amqp_node = { + type = "amqp", + format = "json", + + # Use 'amqps://' to enable SSL/TLS + uri = "amqp://username:password@hostname:port/vhost", + + exchange = "mytestexchange", + routing_key = "abc", + + ssl = { + verify_hostname = true, + verify_peer = true, + + ca_cert = "/path/to/ca.crt", + client_cert = "/path/to/client.crt", + client_key = "/path/to/client.key" + } + } };