collector-to-emulator
convert kafka-collector jsonl output into kafka-emulator scenario yaml.
Installation
pip install collector_to_emulator
Usage
$ collector-to-emulator -h
usage: collector-to-emulator [-h] [-v] [-i PATH] [-t DIR] [-n NAME] [-s PATH]
[-g MS] [-c MS] [-r MS]
[JSONL]
convert kafka-collector output into kafka-emulator config
positional arguments:
JSONL JSONL file (if stdin is a TTY and -i omitted)
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-i, --input PATH JSONL file (ignored when stdin is piped)
-t, --template-dir DIR
template output directory (default: templates/)
-n, --name NAME scenario name in generated YAML (default: Unnamed)
-s, --scenario PATH scenario YAML path when stdout is a TTY (default:
scenario.yaml)
-g, --sleep-gap MS emit a sleep step when the gap between timestamps
exceeds this many milliseconds (default: 500)
-c, --sleep-cap MS maximum sleep duration in milliseconds when inserting
a sleep step (default: 5000)
-r, --round MS round each sleep duration to the nearest multiple of
this many milliseconds (default: 1, no rounding)
Links
- https://pypi.org/project/collector_to_emulator/
- https://github.com/siakhooi/collector-to-emulator
- https://sonarcloud.io/project/overview?id=siakhooi_collector-to-emulator
- https://qlty.sh/gh/siakhooi/projects/collector-to-emulator
Badges
Metadata
Release files for collector_to_emulator 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collector_to_emulator-1.0.0.tar.gz | 10.1 kB | Without provenance | Details for collector_to_emulator-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collector_to_emulator-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for collector_to_emulator-1.0.0-py3-none-any.whl |
Total release size: 21.4 kB
Release files / collector_to_emulator-1.0.0.tar.gz
| Download URL | collector_to_emulator-1.0.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
984b46737b48608ec40f6c5c1fbd92df5c130af394565d797f03c13109ff64ab
|
|
BLAKE2b-256 checksum How to use checksums |
a9b88832333d91cb858b12697f171a8a844af5176d6a37f97c8baa4780f228ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.4 CPython/3.14.3 Linux/6.17.0-1010-azure
|
Release files / collector_to_emulator-1.0.0-py3-none-any.whl
| Download URL | collector_to_emulator-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
456a0ed4245432575b115c2f13a05800f49e62c982c1103b19f8907c80c8917e
|
|
BLAKE2b-256 checksum How to use checksums |
305a2a716bde643416607f11d548ccbd5d3b2cec2d46dd0ea9bfdd19959bb5fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.4 CPython/3.14.3 Linux/6.17.0-1010-azure
|
Security for collector_to_emulator 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.