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-0.2.0.tar.gz (7.0 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-0.2.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file collector_to_emulator-0.2.0.tar.gz.

File metadata

  • Download URL: collector_to_emulator-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.14.3 Linux/6.17.0-1010-azure

File hashes

Hashes for collector_to_emulator-0.2.0.tar.gz
Algorithm Hash digest
SHA256 771acc00cd81db963c4d794297af9ca13d286120dca181191df0f3b43ea75a1e
MD5 006017201b3e51a62e36f17898cf29ad
BLAKE2b-256 62050d3ff45b8be07fc8f471b57e5cd73447c06057b23f2576007a0f3d2de18f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for collector_to_emulator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d137b48c16b328b59e91a0ba01f4e6c0c8421581a8e6656121d2ca5bae587aa
MD5 7f78bcb9a1702594a615ac2526891371
BLAKE2b-256 7d3bcad3abd2e587ca5235bd9844d2710321b3f19230794c1c37907e19ee9508

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