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
Details
| Author | Mayuresh Gharat |
| Status | Discussion |
| JIRA | KAFKA-4808 |
| Wiki | View on Apache Wiki |
| Created | 2017-03-21 |
| Last Modified | 2017-04-19 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.