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
=================================
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ansible_runner_kafka-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab01c0aeb6f8f3c0fbea683c39504f2534daa381438e678ac1f84fc624f9489e |
|
MD5 | ad91e4bbab7d9b249307f756cd08a2c1 |
|
BLAKE2b-256 | df811c5ec024382075f632d98cf9e59db8d78b89a02c082fa652d07b23d5982c |