Plugin:Write Kafka

From collectd Wiki
Jump to: navigation, search
Write Kafka plugin
Type: write
Callbacks: config, write
Status: supported
First version: 5.5
Copyright: 2014 Pierre-Yves Ritschard
License: MIT license
Manpage: collectd.conf(5)
List of Plugins

The Write Kafka plugin sends metrics to Apache Kafka, a distributed message bus.

The data sent can be formatted in three different ways:

  • PUTVAL commands, one line per metric.
  • collectd's standard JSON format.
  • Graphite's ASCII format.

Synopsis

LoadPlugin "write_kafka"
<Plugin write_kafka>
  Property "metadata.broker.list" "localhost:9092"
  <Topic "mytopic">
    Format JSON
  </Topic>
</Plugin>

This will register a write callback with the name write_kafka/mytopic.

Dependencies

  • librdkafka
  • pthread
  • zlib

See also


Personal tools
Namespaces

Variants
Actions
Navigation
Tools