KIP-941 — Range queries to accept null lower and upper bounds
Accepted Kafka 3.7 Streams
Changes RangeQuery.withRange(K lower, K upper) to treat null bounds as absent (using Optional.ofNullable), so null lower/upper bounds implicitly widen to unbounded rather than throwing or using null as a literal key. Callers receiving nullable query parameters from HTTP clients had to write explicit null-checking logic before constructing a RangeQuery.
Details
| Author | Lucia Cerchie |
| Status | Accepted |
| Kafka Version | 3.7 |
| JIRA | KAFKA-15126 |
| Wiki | View on Apache Wiki |
| Created | 2023-06-15 |
| Last Modified | 2023-08-08 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.