conduktor.io ↗

Kafka SaslHandshake Changelog — Protocol Version History

What is SaslHandshake?

Negotiates the SASL authentication mechanism immediately after TCP connection, before any data flows. If the client requests a mechanism the broker doesn't support (e.g., SCRAM-SHA-512 when only PLAIN is configured), the broker responds with the supported list and closes the connection.

VersionKafkaChanges
SaslHandshakeRequest
v02.2
+ Mechanism string
v12.2
supports SASL_AUTHENTICATE. NOTE: Version cannot be easily bumped due to incorrect client negotiation for clients <= 2.4. See https://issues.apache.org/jira/browse/KAFKA-9577
SaslHandshakeResponse
v02.2
+ ErrorCode int16
+ Mechanisms []string
v12.2
is the same as version 0. NOTE: Version cannot be easily bumped due to incorrect client negotiation for clients <= 2.4. See https://issues.apache.org/jira/browse/KAFKA-9577