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.3.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-0.3.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: collector_to_emulator-0.3.0.tar.gz
  • Upload date:
  • Size: 10.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 5d3eeecac8df808fc2538f66187da54cd09e7e84a325f3583099aea8d51e21bf
MD5 9f07b2e7e28c4b291f00a2471fac6006
BLAKE2b-256 fa5a65c040b9b213da18a710f5dbd6ae9cff6b34d240e388326dac73fb2d843c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for collector_to_emulator-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fadc8e8ec74b7defab31f2bbe92ce78eed9743e93f3f62379d8d6c727f13cf9b
MD5 c73aa6014258fb9ce81f6ffe0b7a5c88
BLAKE2b-256 5a3085eff934f9fdb28a78ee9bc0b1ef5454eba8728e7b11fec23cda0f57a1e4

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