https://github.com/mre/kafka-benchmark
A simple kafka script for benchmarking kafka message throughput
https://github.com/mre/kafka-benchmark
kafka-benchmark
Last synced: about 2 months ago
JSON representation
A simple kafka script for benchmarking kafka message throughput
- Host: GitHub
- URL: https://github.com/mre/kafka-benchmark
- Owner: mre
- Created: 2015-11-26T12:39:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-08T14:39:36.000Z (over 9 years ago)
- Last Synced: 2025-02-06T12:48:18.600Z (4 months ago)
- Topics: kafka-benchmark
- Language: Python
- Size: 5.86 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kafka Benchmark
A very simple benchmark script for Kafka.
This will write as many sample messages to Kafka as set in the config file.# Usage
usage: benchmark.py [-h] -c CONFIGFILE -m MESSAGEFILE
optional arguments:
-h, --help show this help message and exit
-c CONFIGFILE, --configfile CONFIGFILE
Configuration file to use
-m MESSAGEFILE, --messagefile MESSAGEFILE
File containing sample message that will be written to
Kafka1. Install all dependencies with `pip install -r requirements.txt`
2. Insert a sample message into `message.txt`.
3. Adjust the configuration at `config.yml`.
4. Start the benchmark with `python benchmark.py`