Skip to main content

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

Badges

GitHub GitHub last commit GitHub tag (latest by date) GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub top language GitHub language count GitHub repo size GitHub code size in bytes

Workflow workflow workflow

Release GitHub release (latest by date) GitHub all releases GitHub Release Date

Quality-Qlty Maintainability Code Coverage

Quality-Sonar Code Smells Duplicated Lines (%) Bugs Vulnerabilities Technical Debt Maintainability Rating Security Rating Reliability Rating Quality Gate Status Lines of Code Coverage Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (long format)

Wise visitors

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

collector_to_emulator-1.0.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collector_to_emulator-1.0.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

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

Hashes for collector_to_emulator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 984b46737b48608ec40f6c5c1fbd92df5c130af394565d797f03c13109ff64ab
MD5 31d639f73bd6b88bac7c5161a5c501f6
BLAKE2b-256 a9b88832333d91cb858b12697f171a8a844af5176d6a37f97c8baa4780f228ad

See more details on using hashes here.

File details

Details for the file collector_to_emulator-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for collector_to_emulator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 456a0ed4245432575b115c2f13a05800f49e62c982c1103b19f8907c80c8917e
MD5 01f64da119766a8baf5305e94ea32811
BLAKE2b-256 305a2a716bde643416607f11d548ccbd5d3b2cec2d46dd0ea9bfdd19959bb5fc

See more details on using hashes here.

Supported by

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