conduktor.io ↗

KIP-467 — Augment ProduceResponse error messaging for specific culprit records

Accepted Kafka 2.4 ProtocolBroker

Extends `ProduceResponse` to include a per-record-batch error field that identifies which specific record batch within a produce request caused a validation failure (invalid magic, missing key on compacted topic, non-monotonic offsets), not just the partition-level error code. When a `ProduceRequest` contains multiple record batches and one is invalid, the current response only returns a partition-level `INVALID_RECORD` error with no indication of which batch is the culprit.

Protocol Impact

Produce v8

Details

AuthorGuozhang Wang
StatusAccepted
Kafka Version2.4
JIRAKAFKA-8729
WikiView on Apache Wiki
Created2019-05-06
Last Modified2019-08-02
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.