kafka
Reference for the `kafka` adapter.
kafka· adapter · runnanook doc kafkafor the same content in your terminal.
Publishes metrics as JSON records to an Apache Kafka topic.
Options
| Option | Type | Default | Description |
|---|---|---|---|
brokers | string | required | comma-separated list of broker host:port |
topic | string | required | target topic name |
key | string | — | optional record key |
Examples
Single broker
[[]]
= "kafka"
[]
= "localhost:9092"
= "nanook.metrics"
Cluster with record key
[[]]
= "kafka"
[]
= "kafka-1:9092,kafka-2:9092"
= "nanook.metrics"
= "{{ source }}"