SecurityProtocol

class safir.kafka.SecurityProtocol(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: StrEnum

Kafka SASL security protocols.

Attributes Summary

PLAINTEXT

Plain-text connection.

SASL_PLAINTEXT

Plain-text SASL-authenticated connection.

SASL_SSL

TLS-encrypted SASL-authenticated connection.

SSL

SSL-encrypted SSL-authenticated connection.

Attributes Documentation

PLAINTEXT = 'PLAINTEXT'

Plain-text connection.

SASL_PLAINTEXT = 'SASL_PLAINTEXT'

Plain-text SASL-authenticated connection.

SASL_SSL = 'SASL_SSL'

TLS-encrypted SASL-authenticated connection.

SSL = 'SSL'

SSL-encrypted SSL-authenticated connection.