SaslMechanism

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

Bases: StrEnum

Kafka SASL mechanisms.

Attributes Summary

PLAIN

Plain-text SASL mechanism.

SCRAM_SHA_256

SCRAM-SHA-256 SASL mechanism.

SCRAM_SHA_512

SCRAM-SHA-512 SASL mechanism.

Attributes Documentation

PLAIN = 'PLAIN'

Plain-text SASL mechanism.

SCRAM_SHA_256 = 'SCRAM-SHA-256'

SCRAM-SHA-256 SASL mechanism.

SCRAM_SHA_512 = 'SCRAM-SHA-512'

SCRAM-SHA-512 SASL mechanism.