conduktor.io ↗

KIP-1145 — Kafka Streams `CloseOptions` should not have a public constructor

Discussion Streams

Proposes making the `CloseOptions` class in Kafka Streams not directly instantiable via a public constructor, replacing it with a builder or factory pattern. A public constructor on `CloseOptions` prevents the API from evolving (adding fields with defaults) without breaking binary compatibility, since any caller constructing it directly would break if the constructor signature changes.

Details

AuthorTengYao Chi
StatusDiscussion
WikiView on Apache Wiki
Created2025-03-14
Last Modified2025-03-14
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.