Convert kafka-collector JSONL output into kafka-emulator scenario YAML
Project description
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
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collector_to_emulator-1.0.0.tar.gz.
File metadata
- Download URL: collector_to_emulator-1.0.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.14.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
984b46737b48608ec40f6c5c1fbd92df5c130af394565d797f03c13109ff64ab
|
|
| MD5 |
31d639f73bd6b88bac7c5161a5c501f6
|
|
| BLAKE2b-256 |
a9b88832333d91cb858b12697f171a8a844af5176d6a37f97c8baa4780f228ad
|
File details
Details for the file collector_to_emulator-1.0.0-py3-none-any.whl.
File metadata
- Download URL: collector_to_emulator-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.14.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
456a0ed4245432575b115c2f13a05800f49e62c982c1103b19f8907c80c8917e
|
|
| MD5 |
01f64da119766a8baf5305e94ea32811
|
|
| BLAKE2b-256 |
305a2a716bde643416607f11d548ccbd5d3b2cec2d46dd0ea9bfdd19959bb5fc
|