github zio/zio-kafka v2.3.1

latest releases: v2.7.4, v2.7.3, v2.7.2...
12 months ago

zio-kafka-testkit library

In this version, we renamed the zio-kafka-test-utils library to zio-kafka-testkit, we changed its base package from zio.kafka to zio.kafka.testkit, and we re-wrote the documentation on how to write tests when using zio-kafka and zio-kafka-testkit.

To migrate, you will have to:

  1. Change in your build.sbt:
// Before
libraryDependencies += "dev.zio"  %% "zio-kafka-test-utils" % "2.3.0" % Test

// After
libraryDependencies += "dev.zio"  %% "zio-kafka-testkit" % "2.3.1" % Test
  1. Fix your imports
// Before
import zio.kafka.ZIOSpecWithKafka
import zio.kafka.KafkaTestUtils
import zio.kafka.KafkaRandom
import zio.kafka.embedded.Kafka

// After
import zio.kafka.testkit.ZIOSpecWithKafka
import zio.kafka.testkit.KafkaTestUtils
import zio.kafka.testkit.KafkaRandom
import zio.kafka.testkit.Kafka

You can find the new documentation here: https://zio.dev/zio-kafka/writing-tests

Other changes

All Changes

  • Write zio-kafka-testkit documentation @guizmaii (#846)
  • Rename the zio-kafka-test-utils module to zio-kafka-testkit && change its base package from zio.kafka to zio.kafka.testkit @guizmaii (#845)
  • Update zio-logging-slf4j2 to 2.1.13 @github-actions (#854)
  • Un-deprecate ZIOSpecWithKafka && Add doc explaining when to use it @guizmaii (#851)
  • Update jackson-databind to 2.15.1 @github-actions (#850)
  • Add minimal "manual consumer" benchmarks @guizmaii (#849)
  • Update sbt to 1.8.3 @github-actions (#847)
  • Remove all rights reserved @erikvanoosten (#843)
  • Update zio-kafka to 2.3.0 @github-actions (#842)
  • Update README.md @zio-assistant (#841)
  • Bump version, remove all rights reserved @erikvanoosten (#840)

Don't miss a new zio-kafka release

NewReleases is sending notifications on new releases.