Releases: osodevops/kafka-performance-testing
Releases · osodevops/kafka-performance-testing
v1.0.0 - Complete Kafka Performance Testing Framework
Kafka Performance Testing Framework v1.0.0
A comprehensive performance testing framework for Apache Kafka with automated Excel report generation.
Features
Test Scenarios
- Producer Baseline - Optimize acks, batch.size, linger.ms, compression
- Consumer Baseline - Optimize fetch settings and poll configuration
- Load Scaling - Multi-producer/consumer performance analysis
- Message Size Impact - Throughput vs message size relationship
- Acks Trade-off - Durability vs performance quantification
Excel Report (10 Sheets, 30+ Charts)
- Dashboard - Executive summary with KPIs
- Throughput Analysis - Deep dive with 4 charts
- Latency Analysis - Percentile distributions and heatmaps
- Trade-off Analysis - THE KNEE CHART (latency vs throughput saturation)
- Scaling Performance - Producer scaling degradation
- Configuration Heatmap - Multi-dimensional parameter analysis
- Message Size Impact - Size efficiency curves
- Acks Comparison - Durability vs performance visualization
- Raw Data - Complete dataset for pivot tables
- Recommendations - Scored configurations by use case
Infrastructure
- Docker Compose local development (3-broker Kafka cluster)
- Ansible-based test orchestration
- Parametrized test matrices (quick & baseline profiles)
- Python scripts for log parsing and report generation
- Offline/air-gapped installation support
Quick Start
# Clone and setup
git clone https://github.com/osodevops/kafka-performance-testing.git
cd kafka-performance-testing
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
# Start local Kafka cluster
docker-compose up -d
# Run tests
docker exec -it kafka-perf-test bash
ansible-playbook -i inventories/local ansible_collections/oso/test/playbooks/full_benchmark.yml
# View results
open results/reports/kafka_perf_report_*.xlsxOffline/Air-Gapped Installation
# Download packages (on internet-connected machine)
./scripts/download_offline_packages.sh
# Install offline (on air-gapped machine)
pip install --no-index --find-links=offline_packages/ -r requirements.txtSee Offline Installation Guide for details.
Documentation
- Running Tests - Step-by-step guide
- Understanding Results - Metrics and charts explained
- Offline Installation - Air-gapped setup
- Getting Started - Setup instructions
- Configuration - All options