Kafka for JUnit

Provides an embedded Kafka cluster consisting of Apache ZooKeeper, Apache Kafka Brokers and Kafka Connect workers in distributed mode along with a rich set of convenient accessors and fault injectors to interact with the embedded Kafka cluster. Supports working against external clusters as well.

License

License

Categories

Categories

JUnit Unit Testing Net
GroupId

GroupId

net.mguenther.kafka
ArtifactId

ArtifactId

kafka-junit
Last Version

Last Version

3.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

Kafka for JUnit
Provides an embedded Kafka cluster consisting of Apache ZooKeeper, Apache Kafka Brokers and Kafka Connect workers in distributed mode along with a rich set of convenient accessors and fault injectors to interact with the embedded Kafka cluster. Supports working against external clusters as well.
Project URL

Project URL

https://mguenther.github.io/kafka-junit
Source Code Management

Source Code Management

https://github.com/mguenther/kafka-junit/tree/master

Download kafka-junit

How to add to project

<!-- https://jarcasting.com/artifacts/net.mguenther.kafka/kafka-junit/ -->
<dependency>
    <groupId>net.mguenther.kafka</groupId>
    <artifactId>kafka-junit</artifactId>
    <version>3.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.mguenther.kafka/kafka-junit/
implementation 'net.mguenther.kafka:kafka-junit:3.2.0'
// https://jarcasting.com/artifacts/net.mguenther.kafka/kafka-junit/
implementation ("net.mguenther.kafka:kafka-junit:3.2.0")
'net.mguenther.kafka:kafka-junit:jar:3.2.0'
<dependency org="net.mguenther.kafka" name="kafka-junit" rev="3.2.0">
  <artifact name="kafka-junit" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.mguenther.kafka', module='kafka-junit', version='3.2.0')
)
libraryDependencies += "net.mguenther.kafka" % "kafka-junit" % "3.2.0"
[net.mguenther.kafka/kafka-junit "3.2.0"]

Dependencies

compile (8)

Group / Artifact Type Version
org.apache.kafka : kafka_2.13 jar 3.2.0
org.apache.kafka : kafka_2.13 jar 3.2.0
org.apache.kafka : kafka-clients jar 3.2.0
org.apache.kafka : kafka-clients jar 3.2.0
org.apache.kafka : connect-api jar 3.2.0
org.apache.kafka : connect-json jar 3.2.0
org.apache.kafka : connect-runtime jar 3.2.0
org.apache.curator : curator-test jar 5.1.0

provided (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.35
org.projectlombok : lombok jar 1.18.22

test (6)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.8.2
org.junit.jupiter : junit-jupiter-engine jar 5.8.2
org.assertj : assertj-core jar 3.22.0
org.slf4j : slf4j-simple jar 1.7.35
org.testcontainers : junit-jupiter jar 1.16.3
org.testcontainers : kafka jar 1.16.3

Project Modules

There are no modules declared in this project.

Versions

Version
3.2.0
3.1.0
3.0.0
2.8.0
2.7.0
2.6.0
2.5.1
2.5.0
2.4.0
2.3.0
2.2.0
2.1.1
2.1.0
2.0.1
2.0.0
1.0.1
1.0.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0