KIP-637 — Include min.insync.replicas in MetadataResponse to make Producer smarter in partitioning events
Discussion ProducerProtocol
Proposes including `min.insync.replicas` per-partition in the `MetadataResponse` so that producers can proactively avoid routing to partitions that cannot satisfy the configured `acks=all` requirement. With `acks=all`, a partition with fewer ISRs than `min.insync.replicas` will reject produce requests; the producer currently has no way to detect this without attempting the write and receiving a `NOT_ENOUGH_REPLICAS` error.
Protocol Impact
Details
| Author | Arvin Zheng |
| Status | Discussion |
| JIRA | KAFKA-10230 |
| Wiki | View on Apache Wiki |
| Created | 2020-07-03 |
| Last Modified | 2020-07-03 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.