{"id":13547230,"url":"https://github.com/fede1024/kafka-benchmark","last_synced_at":"2025-04-14T13:32:02.014Z","repository":{"id":38630953,"uuid":"103582338","full_name":"fede1024/kafka-benchmark","owner":"fede1024","description":"A tool to run benchmarks on Kafka clusters","archived":false,"fork":false,"pushed_at":"2023-08-11T14:32:18.000Z","size":42,"stargazers_count":93,"open_issues_count":6,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T02:53:24.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fede1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-14T21:13:50.000Z","updated_at":"2025-02-19T11:53:55.000Z","dependencies_parsed_at":"2024-11-08T05:00:52.212Z","dependency_job_id":null,"html_url":"https://github.com/fede1024/kafka-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fede1024%2Fkafka-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fede1024%2Fkafka-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fede1024%2Fkafka-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fede1024%2Fkafka-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fede1024","download_url":"https://codeload.github.com/fede1024/kafka-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248888728,"owners_count":21178100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:00:52.717Z","updated_at":"2025-04-14T13:32:01.737Z","avatar_url":"https://github.com/fede1024.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# kafka-benchmark\n[![Join the chat at https://gitter.im/rust-rdkafka/Lobby](https://badges.gitter.im/rust-rdkafka/Lobby.svg)](https://gitter.im/rust-rdkafka/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nA tool to run programmable benchmarks on Kafka clusters.\n\nThis tool uses the high-performance\n[rdkafka](https://github.com/fede1024/rust-rdkafka/) Rust client library for\nKafka (based on the C library\n[librdkafka](https://github.com/edenhill/librdkafka)), and is able to produce\nat extremely high speed to the cluster you want to benchmark.\n\nBenchmark scenarios are configurable using a YAML file.\n\n## Examples\n\nThis is an example run while producing messages to localhost, on an Intel(R)\nCore(TM) i7-4712HQ CPU @ 2.30GHz:\n\n```\n→ git clone https://github.com/fede1024/kafka-benchmark.git\n[...]\n\n→ cd kafka-benchmark/\n\n→ cargo install\n[...]\n\n→ kafka-benchmark producer config/base_producer.yaml msg_bursts_base\nScenario: msg_bursts_base, repeat 5 times, 10s pause after each\n* Produced 20000000 messages (190.735 MB) in 5.045 seconds using 6 threads\n    3964321 messages/s\n    37.807 MB/s\n* Produced 20000000 messages (190.735 MB) in 5.125 seconds using 6 threads\n    3902439 messages/s\n    37.217 MB/s\n* Produced 20000000 messages (190.735 MB) in 5.032 seconds using 6 threads\n    3974563 messages/s\n    37.904 MB/s\n* Produced 20000000 messages (190.735 MB) in 4.980 seconds using 6 threads\n    4016064 messages/s\n    38.300 MB/s\n* Produced 20000000 messages (190.735 MB) in 5.036 seconds using 6 threads\n    3971406 messages/s\n    37.874 MB/s\nAverage: 3964950 messages/s, 37.813 MB/s\n\n→ kafka-benchmark produce config/base_producer.yaml 1KB_bursts\nScenario: 1KB_bursts, repeat 3 times, 20s pause after each\n* Produced 200000 messages (1.863 GB) in 2.800 seconds using 6 threads\n    71429 messages/s\n    681.196 MB/s\n* Produced 200000 messages (1.863 GB) in 2.529 seconds using 6 threads\n    79083 messages/s\n    754.191 MB/s\n* Produced 200000 messages (1.863 GB) in 2.514 seconds using 6 threads\n    79554 messages/s\n    758.691 MB/s\nAverage: 76492 messages/s, 729.481 MB/s\n```\n\nWhen producing to localhost, kafka-benchmark can send almost 4 million messages\nper second on commodity hardware.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffede1024%2Fkafka-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffede1024%2Fkafka-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffede1024%2Fkafka-benchmark/lists"}