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? ​
readonlyoptionalca?:string|Uint8Array<ArrayBufferLike> | readonly (string|Uint8Array<ArrayBufferLike>)[]
Defined in: types.ts:13
Trusted certificate authorities (PEM).
cert? ​
readonlyoptionalcert?:string|Uint8Array<ArrayBufferLike> | readonly (string|Uint8Array<ArrayBufferLike>)[]
Defined in: types.ts:15
Client certificate chain (PEM) for mutual TLS.
key? ​
readonlyoptionalkey?:string|Uint8Array<ArrayBufferLike> | readonly (string|Uint8Array<ArrayBufferLike>)[]
Defined in: types.ts:17
Client private key (PEM) for mutual TLS.
passphrase? ​
readonlyoptionalpassphrase?:string
Defined in: types.ts:19
Passphrase of the private key.
rejectUnauthorized? ​
readonlyoptionalrejectUnauthorized?:boolean
Defined in: types.ts:21
Whether the server certificate must verify (default: true). Turning it off removes the protection TLS gives.
servername? ​
readonlyoptionalservername?:string
Defined in: types.ts:23
Server name for SNI and certificate verification when it differs from the broker address.