Skip to main content

No project description provided

Project description

Ansible Runner Kafka Event Emitter
=================================

This project is a plugin for [Ansible Runner](https://github.com/ansible/ansible-runner) that allows emitting Ansible status and events to Kafka topics.

For more details and the latest documentation see: https://ansible-runner.readthedocs.io/en/latest

This plugin is very *very* basic. Especially error-handling is missing, since the produce-call is asymmetric, and I don't know how to return errors back to ansible runner.
Also the repeated initialization of the producer and call to flush is not very efficient.

Available settings
------------------

These [runner-settings](https://ansible-runner.readthedocs.io/en/latest/intro.html#env-settings-settings-for-runner-itself) are available:

- `bootstrap_servers` input for confluent-kafka's producer's *bootstrap_servers*. **default**: None. **Sample**: localhost:9092. If not set, this plugin will be skipped
- `event_topic` topic to produce events to. **default**: ansible.runner.event. **Sample**: event
- `status_topic` topic to produces status messages to. **default**: ansible.runner.status. **Sample**: status


Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansible-runner-kafka-0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

ansible_runner_kafka-0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page