KIP-783 — Add TaskId field to StreamsException
Accepted Kafka 3.1 Streams
Standardizes exception handling in Kafka Streams by ensuring all exceptions propagated to the `StreamsUncaughtExceptionHandler` are consistently wrapped as `StreamsException` with a well-defined subtype hierarchy. Previously only some exceptions were wrapped, making it impossible to write reliable handler logic or reason about the type of failure.
Details
| Author | A. Sophie Blee-Goldman |
| Status | Accepted |
| Kafka Version | 3.1 |
| JIRA | KAFKA-13381 |
| Wiki | View on Apache Wiki |
| Created | 2021-10-18 |
| Last Modified | 2021-10-26 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.