summaryrefslogtreecommitdiffstats
path: root/src/collectd/collectd_sample_configs/kafka.conf
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2017-11-29 11:48:19 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-11-29 14:01:54 +0000
commitbfb1d7536e376244a48275afdbb5693c80571ed1 (patch)
tree77b8d6da9e1c3a14df6c1a636a6193f6e436ccb5 /src/collectd/collectd_sample_configs/kafka.conf
parent016ec072effd1638b52179eb056fda2891bd3777 (diff)
docker: add kafka support to collectd
Adds kafka support to collectd, cleaned up configuration files and updates documentation. Change-Id: Ie66ed22e8904e08e59aa7047d6afc9d176f3fb02 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'src/collectd/collectd_sample_configs/kafka.conf')
-rw-r--r--src/collectd/collectd_sample_configs/kafka.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/collectd/collectd_sample_configs/kafka.conf b/src/collectd/collectd_sample_configs/kafka.conf
new file mode 100644
index 00000000..f81e87fd
--- /dev/null
+++ b/src/collectd/collectd_sample_configs/kafka.conf
@@ -0,0 +1,21 @@
+# Copyright 2017 OPNFV
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+LoadPlugin write_kafka
+
+<Plugin write_kafka>
+ Property "metadata.broker.list" "localhost:9092"
+ <Topic "collectd">
+ Format JSON
+ </Topic>
+</Plugin>