Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

kotest/kotest-extensions-embedded-kafka

Repository files navigation

kotest-extensions-embedded-kafka

This project has been deprecated in favour of test containers. See https://kotest.io/docs/extensions/test_containers.html and https://testcontainers.com/modules/kafka/

A kotest extension that spins up embedded kafka instances using the embedded-kakfa library.

See docs.

Please create issues on the main kotest board.

GitHub Workflow Status Maven Central License kotest @ kotlinlang.slack.com Sonatype Nexus (Snapshots)

Changelog

2.0.0

This change likely includes breaking changes since embedded-kafka has gone through a major version upgrade.

  • Upgrade embedded-kafka from 2.8.0 to 3.3.2
  • Upgrade Kotlin from 1.4.31 to 1.6.21 (this matches kotest core as of v5.5.5)
  • Continued support of jvm target 1.8
  • Upgrade project gradle version from 7.5.1 to 7.6
  • Remove deprecated code usage
  • Switch to latest gradle build practices

1.0.6

  • Java 8 compatible release.

1.0.5

  • Upgraded to Embedded Kafka 2.8.0

1.0.4

  • Added overload to specify zookeeper port

1.0.3

  • Changed shutdown listener to wait for server shutdown.

1.0.2

  • Added bootstrapServer val to listener.

1.0.1

  • First release after migrating from main kotest repo to a top level project.