Return data to a Kafka topic
maintainer: | Christer Edwards (christer.edwards@gmail.com) |
---|---|
maturity: | 0.1 |
depends: | kafka-python |
platform: | all |
To enable this returner install kafka-python and enable the following settings in the minion config:
- returner.kafka.hostnames:
- "server1"
- "server2"
- "server3"
returner.kafka.topic: 'topic'
To use the kafka returner, append '--return kafka' to the Salt command, eg;
salt '*' test.ping --return kafka
salt.returners.kafka_return.
returner
(ret)¶Return information to a Kafka server