salt.returners.kafka_return

Return data to a Kafka topic

maintainer:

Justin Desilets (justin.desilets@gmail.com)

maturity:

20181119

depends:

confluent-kafka

platform:

all

To enable this returner install confluent-kafka and enable the following settings in the minion config:

returner.kafka.bootstrap:
  • "server1:9092"

  • "server2:9092"

  • "server3:9092"

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