KafkaSslSettings¶
- pydantic model safir.kafka.KafkaSslSettings¶
Subset of settings required for SSL auth.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "KafkaSslSettings", "description": "Subset of settings required for SSL auth.", "type": "object", "properties": { "bootstrap_servers": { "title": "Bootstrap Servers", "type": "string" }, "security_protocol": { "const": "SSL", "enum": [ "SSL" ], "title": "Security Protocol", "type": "string" }, "cluster_ca_path": { "format": "file-path", "title": "Cluster Ca Path", "type": "string" }, "client_cert_path": { "format": "file-path", "title": "Client Cert Path", "type": "string" }, "client_key_path": { "format": "file-path", "title": "Client Key Path", "type": "string" } }, "required": [ "bootstrap_servers", "security_protocol", "cluster_ca_path", "client_cert_path", "client_key_path" ] }
- Fields:
- field bootstrap_servers: str [Required]¶
- field client_cert_path: FilePath [Required]¶
- Constraints:
path_type = file
- field client_key_path: FilePath [Required]¶
- Constraints:
path_type = file
- field cluster_ca_path: FilePath [Required]¶
- Constraints:
path_type = file
- field security_protocol: Literal[KafkaSecurityProtocol.SSL] [Required]¶
- property aiokafka_params: AIOKafkaParams¶
- property faststream_params: FastStreamBrokerParams¶
- property ssl_context: SSLContext¶
An SSL context for connecting to Kafka.