KIP-478 — Strongly typed Processor API
Accepted Kafka 2.7 Streams
Adds compile-time type safety to the Kafka Streams Processor API by introducing typed `ProcessorSupplier<KIn, VIn, KOut, VOut>`, `FixedKeyProcessorSupplier`, and related interfaces so the processor chain's key-value types are checked at compile time. The original Processor API used raw types for inputs and outputs, allowing type mismatches to fail only at runtime.
Details
| Author | John Roesler |
| Status | Accepted |
| Kafka Version | 2.7 |
| JIRA | KAFKA-8396 |
| Wiki | View on Apache Wiki |
| Created | 2019-06-15 |
| Last Modified | 2021-06-16 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.