{"repo":"mostafa/xk6-kafka","free":true,"listed":false,"github":"https://github.com/mostafa/xk6-kafka","clone":"git clone https://github.com/mostafa/xk6-kafka.git","description":"k6 extension to load test Apache Kafka with support for various serialization formats, SASL, TLS, compression, Schema Registry client and beyond","language":"Go","stars":216,"topics":["k6","kafka","apache-kafka","load-testing","performance-testing","avro","extension","xk6","jsonschema","json-schema"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"xk6-kafka The xk6-kafka project is a k6 extension that enables k6 users to load test Apache Kafka using a producer and possibly a consumer for debugging. The real purpose of this extension is to test the system you meticulously designed to use Apache Kafka. So, you can test your consumers, hence your system, by auto-generating messages and sending them to your system via Apache Kafka. You can send many messages with each connection to Kafka. These messages are arrays of objects containing a key and a value in various serialization formats, passed via configuration objects. Various serialization formats are supported, including strings, JSON, binary, Avro, and JSON Schema. Avro and JSON Schema can either be fetched from Schema Registry or hard-code directly in the script. SASL PLAIN/SCRAM authentication, SASL GSSAPI (Kerberose), AWS IAM, Azure Entra OAuth, GCP OAuth and message compression are also supported. For debugging and testing purposes, a consumer is available to make sure you send the correct data to Kafka. If you want to learn more about the extension, read the article (outdated) explaining how to load test your Kafka producers and consumers using k6 on the k6 blog. You can also watch this recording of the k6 Office Hours about this extension. Supported Features - v2.0.0 Performance : Up to 383,000 msgs/sec (unacked) with 50 VUs using new Producer / Consumer constructors with confluentinc/confluent-kafka-go ( 3.3x faster than the current v1.x.x/main branch , which re","default_branch":null,"files":null,"tree":[],"storefront":"/r/mostafa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mostafa/xk6-kafka/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}