Is extracted the original kafka output from k6 so it can be used with xk6.
To build a k6
binary with this extension, first ensure you have the prerequisites:
- Go toolchain
- Git
- Build with
xk6
:
xk6 build --with github.com/grafana/xk6-output-kafka
This will result in a k6
binary in the current directory.
- Run with the just build `k6:
./k6 run -o xk6-kafka <script.js>
The configuration is the same as the in k6 one. Please consult the documentation for specifics.