Skip to content

21.0.0 Dependency updates, bulk firing of events, compacted event types

Latest
Compare
Choose a tag to compare
@ePaul ePaul released this 21 Dec 17:03
· 25 commits to master since this release
1e284c8

This is the first release of the 21.x.x series, for Spring-Boot 2.5

Relevant changes

  • Dependency updates: (#143, #163, #150, #156, #155): We now depend on Spring-Boot 2.5 (Spring-core 5.3), Flyway 7 (but it also should work with newer versions of these), Fahrschein 0.24, and (optionally) tokens 0.14.0. (We also updated the dependency to the postgresql client, and are using a newer version of JUnit internally.)
    • The minimum Java version is now Java 11.
    • This is using the new Flyway callback infrastructure. If you are using this, please be careful.
    • Submission to Nakadi is now using gzip compression by default. You can disable this or pick zstd compression using the nakadi-producer.content-encoding configuration variable.
  • Feature (#140, implemented in #142): It is now possible to persist multiple events in batch to the database, with new methods on EventLogWriter.
    This should improve the throughput considerably (and reduce load on the DB).
  • Feature (#154, implemented in #164): It is now possible (though only recommended in specific cases) to fire events for compacted event types. This is done by providing Spring-beans of type CompactionKeyExtractor.

Please note that the configuration variable nakadi-producer.lock-size introduced in 20.4.0, with default unlimited, will become mandatory in the next major release (22). We recommend setting it already now, as without it you can run into out-of-memory errors in some cases.

All merged PRs:

  • Bump postgresql from 42.2.25 to 42.4.1 in /nakadi-producer-spring-boot-starter by @dependabot in #150
  • Bump postgresql from 42.4.1 to 42.4.3 in /nakadi-producer-spring-boot-starter by @dependabot in #156
  • Bump postgresql from 42.3.3 to 42.3.8 in /nakadi-producer-loadtest by @dependabot in #155
  • #140 Persist multiple events in batch by @fbrns in #141
  • use batching for snapshots, too (#140) by @ePaul in #161
  • #142 Update flyway and spring boot by @johannesknauft in #143
  • Bump spring-core from 5.3.12 to 5.3.20 in /nakadi-producer by @dependabot in #163
  • fix boolean operation in flyway migration (&& → ||) by @ePaul in #165
  • support compacted event types (#154) via spring beans by @ePaul in #164

New Contributors

Full Changelog: 20.4.0...21.0.0