KIP-677 — migrating Topology methods to the Builder pattern (WIP)
Discussion Streams
Proposes refactoring `Topology` methods with long parameter lists (e.g., `addGlobalStore`) to use a builder pattern via parameter objects (e.g., `AddGlobalStoreParameters`) for improved readability and API extensibility. The current `Topology` API uses long positional parameter lists that are error-prone, hard to read, and difficult to extend without breaking changes.
Details
| Author | Huynh Quang Thao |
| Status | Discussion |
| JIRA | KAFKA-10472 |
| Wiki | View on Apache Wiki |
| Created | 2020-10-18 |
| Last Modified | 2020-10-18 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.