A brand new release targeting Kafka java client 4.1 (which is compatible with almost all older Kafka brokers). In this release we also increase support for slow consumers in combination with rebalance-safe-commits mode. See the documentation or PR #1576 for more details. Special thanks to @Awethon for analyzing slow consumers in detail ❤️! These changes also benefit fast consumers that use rebalance-safe-commits as rebalances now take less time.
🚧 Breaking changes
- Despite the minor upgrade of the Kafka java client, zio-kafka 3.1.0 is not binary compatible with the 4.0 Kafka java client.
- The Kafka java client changed the Admin Client's API. These changes are mirrored in zio-kafka's wrapper and are not fully source (nor binary) compatible.
🚀 Changes
- Doc improvements by @erikvanoosten in #1548
- Remove workaround for kafka 4.1.0 by @erikvanoosten in #1550
- Update zio, zio-streams, zio-test, ... to 2.1.20 by @zio-scala-steward[bot] in #1556
- Update kafka-clients to 4.1.0 by @zio-scala-steward[bot] in #1564
(Restores the workaroud for invisible partition changes that was removed in #1550.) - Update zio, zio-streams, zio-test, ... to 2.1.21 by @zio-scala-steward[bot] in #1565
- Make rebalances faster, support slow consumers by @erikvanoosten in #1576
- Fix small stuff by @erikvanoosten in #1577
🔧 Maintenance
- Update README.md by @zio-assistant[bot] in #1549
- Update sbt, scripted-plugin to 1.11.3 by @zio-scala-steward[bot] in #1551
- Update zio-logging-slf4j, ... to 2.5.1 by @zio-scala-steward[bot] in #1552
- Test improvements by @erikvanoosten in #1554
- Test improvements (follow up) by @erikvanoosten in #1555
- Update sbt, scripted-plugin to 1.11.4 by @zio-scala-steward[bot] in #1557
- Update zio-sbt-ci, zio-sbt-ecosystem, ... to 0.4.0-alpha.33 by @zio-scala-steward[bot] in #1559
- Update sbt-native-packager to 1.11.3 by @zio-scala-steward[bot] in #1560
- Update sbt, scripted-plugin to 1.11.5 by @zio-scala-steward[bot] in #1561
- Update zio-sbt-ci, zio-sbt-ecosystem, ... to 0.4.0-alpha.34 by @zio-scala-steward[bot] in #1563
- Update sbt, scripted-plugin to 1.11.6 by @zio-scala-steward[bot] in #1568
- Reduce change of getting a port above 65535 by @erikvanoosten in #1581
- Update zio-sbt-ci, zio-sbt-ecosystem, ... to 0.4.0-alpha.35 by @zio-scala-steward[bot] in #1582
- Update README.md by @zio-assistant[bot] in #1583
Full Changelog: v3.0.0...v3.1.0