KIP-744 — Migrate TaskMetadata and ThreadMetadata to an interface with internal implementation
Accepted Kafka 3.0 Streams
Converts `TaskMetadata` and `ThreadMetadata` from concrete classes to interfaces with internal implementations, separating the public API contract from the implementation details. Users should never instantiate these metadata objects directly—making them concrete classes with public constructors prevents the Streams team from safely evolving the internal representation.
Details
| Author | Josep Prat |
| Status | Accepted |
| Kafka Version | 3.0 |
| JIRA | KAFKA-12849 |
| Wiki | View on Apache Wiki |
| Created | 2021-05-27 |
| Last Modified | 2021-07-13 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.