conduktor.io ↗

Kafka DescribeUserScramCredentials Response Wire Format v0 — Binary Protocol Layout

What is DescribeUserScramCredentials?

Returns SCRAM authentication details via kafka-configs.sh --describe --entity-type users. Shows the mechanism and iteration count but not the credential itself, so you can verify a user has credentials before troubleshooting SASL failures.

Related Errors

CLUSTER_AUTHORIZATION_FAILED

Wire Diagram

Response Header · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
DescribeUserScramCredentialsResponse v0
ThrottleTimeMs int32 · 4B
ErrorCode int16 · 2B
ErrorMessage? string (compact)
Results array
tagged var
User string (compact)
ErrorCode int16 · 2B
ErrorMessage? string (compact)
CredentialInfos array
tagged var
Mechanism int8 · 1B
Iterations int32 · 4B
tagged var

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "ErrorCode": int16,
  "ErrorMessage": string?,
  "Results": [{
      "User": string,
      "ErrorCode": int16,
      "ErrorMessage": string?,
      "CredentialInfos": [{
          "Mechanism": int8,
          "Iterations": int32
      }]
  }]
}
Example
{
  "ThrottleTimeMs": 0,
  "ErrorCode": 0,
  "ErrorMessage": null,
  "Results": [{
      "User": "alice",
      "ErrorCode": 0,
      "ErrorMessage": "NETWORK_EXCEPTION",
      "CredentialInfos": [{
          "Mechanism": "SCRAM-SHA-256",
          "Iterations": 0
      }]
  }]
}