KIP-784 — Add top-level error code field to DescribeLogDirsResponse
Accepted Kafka 3.2 ProtocolAdmin
Adds a top-level `errorCode` field to the `DescribeLogDirsResponse` so authorization failures (e.g., missing `Describe` on the Cluster resource) are surfaced explicitly rather than returning an empty response. Currently, an empty response is ambiguous—clients cannot distinguish a legitimate empty result from an authorization failure or an unknown server error.
Protocol Impact
Details
| Author | Mickael Maison |
| Status | Accepted |
| Kafka Version | 3.2 |
| JIRA | KAFKA-13527 |
| Wiki | View on Apache Wiki |
| Created | 2021-10-18 |
| Last Modified | 2022-01-25 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.