Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 2.85 KB

README.md

File metadata and controls

95 lines (70 loc) · 2.85 KB

xk6-kafka

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

Table of contents

Enumerations

Classes

Interfaces

Functions

Functions

LoadJKS

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",
});

Parameters

Name Type Description
jksConfig JKSConfig JKS configuration.

Returns

JKS

  • JKS client and server certificates and private key.

Defined in

index.d.ts:550