conduktor.io ↗

KIP-135 — Send of null key to a compacted topic should throw non-retriable error back to user

Discussion ProducerBroker

KIP-135 changes the broker to return a new non-retriable `INVALID_RECORD_KEY` error code when a producer sends a null key to a log-compacted topic, instead of the retriable `CorruptRecordException` currently returned. The retriable error causes the producer to exhaust its retry budget and eventually throw a `TimeoutException`, hiding the real cause and delaying failure feedback.

Protocol Impact

Produce

Details

AuthorMayuresh Gharat
StatusDiscussion
JIRAKAFKA-4808
WikiView on Apache Wiki
Created2017-03-21
Last Modified2017-04-19
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.