description
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.
This documentation refers to the development version of the xk6-kafka project, which means the latest changes on main
branch and might not be released yet, as explained in the release process.
see
https://github.com/mostafa/xk6-kafka
- BALANCERS
- COMPRESSION_CODECS
- ELEMENT_TYPES
- GROUP_BALANCERS
- ISOLATION_LEVEL
- SASL_MECHANISMS
- SCHEMA_TYPES
- START_OFFSETS
- SUBJECT_NAME_STRATEGY
- TIME
- TLS_VERSIONS
- BasicAuth
- ConfigEntry
- ConnectionConfig
- ConsumeConfig
- Container
- JKS
- JKSConfig
- Message
- ProduceConfig
- ReaderConfig
- Reference
- ReplicaAssignment
- SASLConfig
- Schema
- SchemaRegistryConfig
- SubjectNameConfig
- TLSConfig
- TopicConfig
- WriterConfig
▸ LoadJKS(jksConfig
): JKS
function
description
Load a JKS keystore from a file.
example
const jks = LoadJKS({
path: "/path/to/keystore.jks",
password: "password",
clientCertAlias: "localhost",
clientKeyAlias: "localhost",
clientKeyPassword: "password",
serverCaAlias: "ca",
});
Name | Type | Description |
---|---|---|
jksConfig |
JKSConfig |
JKS configuration. |
- JKS client and server certificates and private key.