PlaintextSettings

pydantic model safir.kafka.PlaintextSettings

Subset of settings required for Plaintext auth.

Parameters:

data (Any)

Show JSON schema
{
   "title": "PlaintextSettings",
   "description": "Subset of settings required for Plaintext auth.",
   "type": "object",
   "properties": {
      "bootstrap_servers": {
         "title": "Bootstrap Servers",
         "type": "string"
      },
      "security_protocol": {
         "const": "PLAINTEXT",
         "title": "Security Protocol",
         "type": "string"
      }
   },
   "required": [
      "bootstrap_servers",
      "security_protocol"
   ]
}

Fields:
field bootstrap_servers: str [Required]
field security_protocol: Literal[SecurityProtocol.PLAINTEXT] [Required]
to_aiokafka_params()
Return type:

AIOKafkaParams

to_faststream_params()
Return type:

FastStreamBrokerParams