conduktor.io ↗

Kafka SaslAuthenticate Changelog — Protocol Version History

What is SaslAuthenticate?

Carries the raw SASL exchange bytes after SaslHandshake, with content specific to the mechanism (GSSAPI token, OAUTHBEARER JWT, SCRAM challenge-response, etc.). The response includes session lifetime for token-based mechanisms like OAUTHBEARER, so the client knows when to re-authenticate.

VersionKafkaChanges
SaslAuthenticateRequest
v02.2
+ AuthBytes bytes
v12.2
is the same as version 0.
v22.5
~ Flexible encoding enabled FLEXIBLE
adds flexible version support
SaslAuthenticateResponse
v02.2
+ ErrorCode int16
+ ErrorMessage string
+ AuthBytes bytes
v12.2
+ SessionLifetimeMs int64
adds the session lifetime.
v22.5
~ Flexible encoding enabled FLEXIBLE
adds flexible version support