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
File details
Details for the file ansible-runner-kafka-0.1.tar.gz
.
File metadata
- Download URL: ansible-runner-kafka-0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 608d54e95c689d9400c5393aaca389cc5abd45cd4d95a18e545c7ac69df1d66d |
|
MD5 | 4e391fbb3cf2fa7c08ba0d77efd849f5 |
|
BLAKE2b-256 | 5dad669432deef72050ab5723f3b1b720d91d02e8052641316a9bc14885a6b18 |
File details
Details for the file ansible_runner_kafka-0.1-py3-none-any.whl
.
File metadata
- Download URL: ansible_runner_kafka-0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab01c0aeb6f8f3c0fbea683c39504f2534daa381438e678ac1f84fc624f9489e |
|
MD5 | ad91e4bbab7d9b249307f756cd08a2c1 |
|
BLAKE2b-256 | df811c5ec024382075f632d98cf9e59db8d78b89a02c082fa652d07b23d5982c |