Skip to content

Connectum API Reference / @connectum/events-kafka / types / KafkaTlsOptions

Interface: KafkaTlsOptions ​

Defined in: types.ts:11

TLS settings of the broker connection. Further tls.connect options go through KafkaAdapterOptions.clientOptions.

Properties ​

ca? ​

readonly optional ca?: string | Uint8Array<ArrayBufferLike> | readonly (string | Uint8Array<ArrayBufferLike>)[]

Defined in: types.ts:13

Trusted certificate authorities (PEM).


cert? ​

readonly optional cert?: string | Uint8Array<ArrayBufferLike> | readonly (string | Uint8Array<ArrayBufferLike>)[]

Defined in: types.ts:15

Client certificate chain (PEM) for mutual TLS.


key? ​

readonly optional key?: string | Uint8Array<ArrayBufferLike> | readonly (string | Uint8Array<ArrayBufferLike>)[]

Defined in: types.ts:17

Client private key (PEM) for mutual TLS.


passphrase? ​

readonly optional passphrase?: string

Defined in: types.ts:19

Passphrase of the private key.


rejectUnauthorized? ​

readonly optional rejectUnauthorized?: boolean

Defined in: types.ts:21

Whether the server certificate must verify (default: true). Turning it off removes the protection TLS gives.


servername? ​

readonly optional servername?: string

Defined in: types.ts:23

Server name for SNI and certificate verification when it differs from the broker address.