KIP-1153 — Refactor Kafka Streams CloseOptions to Fluent API Style
Accepted Kafka 4.2 Streams
Deprecates KafkaStreams.CloseOptions (inner class with public constructor) and replaces it with a new top-level CloseOptions class using a fluent builder API, aligned with KIP-1092's CloseOptions for the consumer. The existing CloseOptions exposed a public constructor rather than following the fluent API style used consistently throughout Kafka Streams configuration objects.
Details
| Author | Ken Huang |
| Status | Accepted |
| Kafka Version | 4.2 |
| JIRA | KAFKA-18193 |
| Wiki | View on Apache Wiki |
| Created | 2025-04-04 |
| Last Modified | 2025-10-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.