r/devops • u/skrbic_a • Aug 23 '26
Tools Khaos - Kafka traffic generation, load testing and failure simulation, now rewritten in Go
I posted Khaos here a while ago, so just sharing a quick update.
Khaos has now been completely rewritten from Python to Go.
It still does the same core thing: generate realistic Kafka traffic and deliberately reproduce scenarios like:
- consumer lag
- hot partitions
- broker failures and rebalances
- backpressure
Along with the Go rewrite, I also launched a new website and proper documentation:
Repo:
https://github.com/aleksandarskrbic/khaos
Would love feedback if anyone here is using Kafka for testing or failure simulation.
Disclosure: I’m the author/maintainer of khaos. It’s a free and open-source project.
29
Upvotes
6
u/arielrahamim Aug 23 '26
interesting, thanks for sharing! had a lot of issues with kafka at work but its probably just bad consumers code..
2
u/Ebrithil_7 Aug 24 '26
I think from the failure part it is interesting.
From the load testing POV: I've only had a brief look but it seems this is single Node? So you can't parallelize or scale your load generation past the capacity of a single host? Something like Locust will probably be a better fit if you need high load past a single compute node.
2
u/TraditionalLayer3685 Aug 24 '26
Very interesting, thanks for sharing ! I wish i had a tool like that few months ago when i was still working on Kafka prod issues/instability