This repository has been archived by the owner on May 3, 2024. It is now read-only.
2.0.0
Promoted 2.0.0-RC5 to 2.0.0 without further changes.
What's Changed since 1.0.0
New Features, Bug Fixes & Improvements
- Retry initial connection by @mesut in #390
- Trim auth token by @mesut in #401
- Add Spring Boot Starter by @rob-h-w in #402
- Micrometer Support by @otrosien in #391
- Spring-boot-starter: Make http request factory dynamic by @otrosien in #414
- Allow clients to correctly handle partial publishing failures by @otrosien in #424
- Implement equals and hashcode for Metadata. by @fixxer in #425
- Consistency in stream parameters support for spring boot by @otrosien in #433
- Spring-boot request factory: don't use streaming but buffering implementation by @otrosien in #438
- Add partitionCompactionKey as Metadata attribute by @mesut in #442
- Incorporate retry functionality for event publishing by @mesut in #430
- Spring Boot: Add configuration to reference a subscription by ID by @otrosien in #440
- Autowire tracing in spring boot by @otrosien in #444
- Spring Boot: Add Subscription config properties when subscription-by-id is not provided by @levabski in #456
- Fix stack overflow error in micrometer by @otrosien in #453
Documentation
- Update comparison with nakadi-java by @mesut in #393
- Fix example in OpenTelemetry README.md by @otrosien in #400
- Update MAINTAINERS based on recent contributions by @otrosien in #403
- Document Nakadi Publishing failure handling by @otrosien in #416
- removed wrong documentation wrt failure handling by @otrosien in #423
- StreamParameters refresher (documentation + new parameter support) by @otrosien in #432
- Update README code example for publishing with retry. by @otrosien in #446
- Update README references for example code by @otrosien in #447
- More README.md cleanups regarding retries by @otrosien in #448
Dependencies
- Upgrade Spring dependencies and jdk target by @MALPI in #407
- Upgrade all dependencies to the latest version by @otrosien in #411
- Remove guava from spring-boot-starter by @otrosien in #412
- Remove kotlin dependency & discover jackson modules via classpath introspection by @otrosien in #420
- Latest dependencies + build with JDK21 by @otrosien in #434
- Remove deprecated Jackson 2.7 property CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES by @otrosien in #436
- Upgrade to Apache HttpClient 5.x by @otrosien in #439
- Upgrade dependencies to latest versions by @otrosien in #454
Build Changes
- Suppress CVE-2023-20860 by @otrosien in #394
- Ignore CVE-2023-20861 by @otrosien in #395
- Suppress CVE-2023-20863 by @otrosien in #397
- False positive: CVE-2023-35116 by @otrosien in #399
- Minor gradle build polishing by @otrosien in #437
- Upgrade gradle in github actions by @otrosien in #457
- Build Dependency Fixes for RC2 by @otrosien in #410
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 EventPersistenceException
s are retried, but EventValidationException
s are not (README has more details).
Full Changelog: 1.0.0...2.0.0