Releases: mostafa/xk6-kafka
v0.21.1
This bugfix release contain a fix identified by @rhasanoff in #261.
Full Changelog: v0.21.0...v0.21.1
v0.21.0
v0.20.2
What's Changed
- Fix string representation of error by @aermolaev in #257
New Contributors
- @aermolaev made their first contribution in #257
Full Changelog: v0.20.1...v0.20.2
v0.20.1
v0.20.0
This release contains a lot of updates and a long sought-after feature for adding timeouts to the Kafka reader, thanks to @JasmineCA. It is now possible to limit how long the reader waits for reading messages using the maxWait
property of the ReaderConfig
. Go is updated to 1.21 and k6 to v0.46.0. Other related dependencies are also updated.
What's Changed
- Adds timeout mechanism in reader with maxWait by @JasmineCA in #246
- Update Go, k6 and other dependencies by @mostafa in #249
New Contributors
- @JasmineCA made their first contribution in #246
Full Changelog: v0.19.1...v0.20.0
v0.19.1
What's Changed
Full Changelog: v0.19.0...v0.19.1
v0.19.0
v0.18.2
What's Changed
Full Changelog: v0.18.1...v0.18.2
v0.18.1
This release contains a new feature, contributed by @doxsch. Users now have the flexibility to load certificates and keys in multiple formats: as strings or files. The feature automatically determines the format based on the input provided.
When a string is provided, the extension verifies if it is a valid PEM certificate. If it passes the validation, the certificate is loaded as is. Alternatively, if the input does not meet the PEM certificate criteria, the extension interprets it as a file path and attempts to load the corresponding file.
In the event that neither method succeeds, the extension will gracefully handle the situation and provide an informative error message to assist users in troubleshooting.
What's Changed
New Contributors
Full Changelog: v0.18.0...v0.18.1
v0.18.0
This release contains a features, a few fixes and upgrade of dependencies, as mentioned below:
- Support for JKS keystores are added. Using the
LoadJKS
function, the users can load and extract certificates and private keys from their desired JKS keystore and store them in the current working directory as PEM-encoded plain-text files. The return value of the function is the path to all the extracted files, which can be fed to theTLSConfig
object. To learn more about this feature, see thetest_tls_with_jks.js
example script. - Metrics are updated with two new metrics:
kafka_writer_batch_seconds
andkafka_writer_batch_queue_seconds
. Both are trend metrics and measure the time it takes to write a batch and to queue the next batch. For more information, see the list of emitted metrics. - Dependencies are upgraded to the latest version: this include the update of k6 v0.44.1, which is the latest version at the time of writing this release notes.
- JS API docs are updated to fix issues, typos and reflect the changes made before and during this release.
- The official Docker images are now signed with cosign using a keyless method.
- Other fixes and improvements has been made to make the project more accessible and efficient.
What's Changed
- Support load java keystores (JKS) by @mostafa in #209
- Fixes after upgrade of dependencies by @mostafa in #216
- Add new metrics by @mostafa in #217
- Save files from JKS by @mostafa in #218
Full Changelog: v0.17.0...v0.18.0