Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Compatibility, Deprecation, and Migration Plan

For applications using older code

For existing errors, if the application code already handles the error, it will continue to do so. However, for TransactionAbortableException, a new exception introduced in KIP-890 that extends KafkaException, it is expected to be treated as fatal by applications with older code, as KafkaException is considered fatal by applications.

For applications using newer code

Applications using newer code, as mentioned in Clientsidecodeexample, This KIP involves client side changes which only affects the resiliency of new Producer client and Streams. New clients have the flexibility to adjust their exception handling logic based on the specific type of exception encountered, enabling them to take appropriate actions as described in the Clientsidecodeexample section. Existing clients need not make any modifications, as they can continue to utilize their current error handling mechanisms.


Test Plan

We will add additional integration and unit tests to check if client acts as expected.

...