conduktor.io ↗

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

DescribeLogDirs

Details

AuthorMickael Maison
StatusAccepted
Kafka Version3.2
JIRAKAFKA-13527
WikiView on Apache Wiki
Created2021-10-18
Last Modified2022-01-25
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.