Versions Compared

Key

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

...

Exception/Error Names

Current handling

New Handling


Producer API

Transaction API

Producer API

Transaction API

Comments

UnknownTopicOrPartitionException

NotLeaderOrFollowerException

Retriable if the error is retriable. Otherwise abortable

Retriable if the error is retriable otherwise abortable

Refresh + Retriable

Refresh + Retriable

Both UnknownTopicOrPartitionException and NotLeaderOrFollowerException  extends AuthorizationException  InvalidMetadataException 


Current class hierarchy in code is:

UnknownTopicOrPartitionException <InvalidMetadataException < RetriableException < ApiException



New class hierarchy in code will be:

UnknownTopicOrPartitionException < InvalidMetadataException < RefreshRetriableException < RetriableException < ApiException

NotCoordinatorException

CoordinatorNotAvailableException

Retriable

Retriable

Refresh + Retriable

Refresh + Retriable


...