Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

2.0.0-RC3

Compare
Choose a tag to compare
@otrosien otrosien released this 11 Oct 13:55
· 31 commits to main since this release
3cd7dbc

What's Changed

  • removed wrong documentation wrt failure handling by @otrosien in #423
  • Allow clients to correctly handle partial publishing failures by @otrosien in #424
  • Implement equals and hashcode for Metadata. by @fixxer in #425

Full Changelog: 2.0.0-RC2...2.0.0-RC3

Upgrading from Fahrschein < 2.0

Before Fahrschein 2.0, there was only a single exception EventPublishingException containing only the failed events - Since 2.0 it contains all events in the batch, and EventPublishingException became an abstract class. Existing code relying on catching this exception wouldn't break, but in order to differentiate between validation and persistance failures, and implementation of retrying only the failed events, please upgrade your code accordingly, so that EventPersistenceExceptions are retried, but EventValidationExceptions are not (README has more details).