summaryrefslogtreecommitdiffstats
path: root/etc/collector.properties
diff options
context:
space:
mode:
authorPawelSzalapski <pawel.szalapski@nokia.com>2018-08-02 10:31:56 +0200
committerPawelSzalapski <pawel.szalapski@nokia.com>2018-08-06 09:43:32 +0200
commit7752c2d818e6d19e4d805c2fd6760b4a13d601bc (patch)
tree053cbc5afd76a8b9644ec62298053aad8cf5e2a8 /etc/collector.properties
parent654ebdff4c9ec2487b819d2b76273732759de4c7 (diff)
Implement second part of dynamic DMaaP config
VESCollector app can now fetch CBS configuration and rebuilt the part regarding sending events dynamically, without restarting application. Application will still be restarted by a .sh script, if there were changes regarding collector.properties file. The decision of whether dynamic configuration should be triggered is now based on existence of env vars CONSUL_HOST, CONFIG_BINDING_SERVICE, HOSTNAME, not as previously on CBSPOLLTIME. Frequency at which the config check should happen is now exposed via property from collector.properties Change-Id: I98ff160fa51d08d84a23c716d90ceaacbe17ada6 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-519
Diffstat (limited to 'etc/collector.properties')
-rwxr-xr-xetc/collector.properties3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/collector.properties b/etc/collector.properties
index 4354eb69..7ff24b1b 100755
--- a/etc/collector.properties
+++ b/etc/collector.properties
@@ -64,6 +64,9 @@ header.authlist=sample1,c2FtcGxlMQ==
## Enabled by default; to disable set to 0
event.transform.flag=1
+# Describes at what frequency (measured in minutes) should application try to fetch config from CBS
+collector.dynamic.config.update.frequency=5
+
###############################################################################
##
## Tomcat control