Added docs to config.d.ts

This commit is contained in:
Nir Gazit
2021-01-19 21:49:27 +02:00
parent d2b534e87c
commit 9c3eda7c6f
+13
View File
@@ -15,8 +15,21 @@
*/
export interface Config {
kafka?: {
/**
* Client ID used to Backstage uses to identify when connecting to the Kafka cluster.
*/
clientId: string;
/**
* List of brokers in the Kafka cluster to connect to.
*/
brokers: string[];
/**
* Optional SSL connection parameters to connect to the cluster. Passed directly to Node tls.connect.
* See https://nodejs.org/dist/latest-v8.x/docs/api/tls.html#tls_tls_createsecurecontext_options
*
* @visibility secret
*/
ssl?: {
ca: string[];
key: string;