Versions Compared

Key

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

...

Cross Exception handling doesn't match as mentioned in KIP-691

TransactionAbortableException

...

Exception/Error Names

...

Current handling

...

New Handling

...

Producer API

...

Transaction API

...

Producer API

...

Transaction API

...

TransactionAbortableException
** note – Added via KIP-890

...

Producer Abortable

...

Producer Abortable

...

Producer Abortable

...

Producer Abortable

ProducerRetriableTransactionException

...

Exception/Error Names

Current handling

New Handling


Producer API

Transaction API

Producer API

Transaction API

UnknownTopicOrPartitionException

NotLeaderOrFollowerException

Retriable if the error is retriable. Otherwise abortable

Retriable if the error is retriable otherwise abortable

Refresh + Retriable

Refresh + Retriable

NotCoordinatorException

CoordinatorNotAvailableException

Retriable

Retriable

Refresh + Retriable

Refresh + Retriable

TransactionAbortableException

Exception/Error Names

Current handling

New Handling


Producer API

Transaction API

Producer API

Transaction API

TransactionAbortableException
** note – Added via KIP-890

Producer Abortable

Producer Abortable

Producer Abortable

Producer Abortable

ApplicationRecoverableTransactionException

...

InvalidTxnStateException requires special handling where producer API and Transactional API has different handling:

Exception/Error Names

Current handling

Expected Handling


Producer API

Transaction API

Producer API

Transaction API

InvalidTxnStateException

Abortable

Fatal

Producer Abortable (KIP-890 relies on this – note this is the only one that differs with Produce API) Image Modified

Application Recoverable Image Modified

InvalidConfigurationTransactionException

...