summaryrefslogtreecommitdiff
path: root/schemas/config
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/config')
-rw-r--r--schemas/config/3.0.schema.json38
1 files changed, 33 insertions, 5 deletions
diff --git a/schemas/config/3.0.schema.json b/schemas/config/3.0.schema.json
index 34b19f57..98563373 100644
--- a/schemas/config/3.0.schema.json
+++ b/schemas/config/3.0.schema.json
@@ -174,11 +174,6 @@
"tcp://127.0.0.1:6002",
"unix:///var/run/rr.sock"
]
- },
- "relay_timeout": {
- "description": "Timeout for relay connection establishing (only for socket and TCP port relay)",
- "$ref": "#/definitions/Duration",
- "default": "60s"
}
},
"required": [
@@ -2488,6 +2483,39 @@
]
}
},
+ "tls": {
+ "description": "Kafka TLS configuration",
+ "type": "object",
+ "properties": {
+ "key": {
+ "description": "Path to the key file",
+ "type": "string",
+ "default": null
+ },
+ "cert": {
+ "description": "Path to the certificate",
+ "type": "string",
+ "default": null
+ },
+ "root_ca": {
+ "description": "Path to the CA certificate",
+ "type": "string",
+ "default": null
+ },
+ "client_auth_type": {
+ "description": "Client auth type",
+ "type": "string",
+ "default": "no_client_certs",
+ "enum": [
+ "request_client_cert",
+ "require_any_client_cert",
+ "verify_client_cert_if_given",
+ "no_client_certs",
+ "require_and_verify_client_cert"
+ ]
+ }
+ }
+ },
"sasl": {
"description": "Mechanism used for the authentication",
"properties": {