Registry / testing / kafka-streams-test-utils

kafka-streams-test-utils

JSON →
library4.3.0javamavenunverified

Testing utilities for Apache Kafka Streams applications.

<dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams-test-utils</artifactId> <version>4.3.0</version> </dependency>
INSTALL
IMPORT
SIG · KAFKA-STREAMS-TEST
K
kafka-streams-test-utils
testingjavav4.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TestInputTopic
org.apache.kafka.streams.TestInputTopic

Minimal test driver setup for Kafka Streams

import org.apache.kafka.streams.TestInputTopic; import org.apache.kafka.streams.TopologyTestDriver; import org.apache.kafka.streams.StreamsConfig; import java.util.Properties; public class Example { public static void main(String[] args) { Properties props = new Properties(); props.put(StreamsConfig.APPLICATION_ID_CONFIG, "test"); props.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "dummy:1234"); TopologyTestDriver testDriver = new TopologyTestDriver(buildTopology(), props); TestInputTopic<String, String> inputTopic = testDriver.createInputTopic("input", new StringSerializer(), new StringSerializer()); System.out.println("Test driver created"); } static Topology buildTopology() { return null; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.3.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
kafka-streams-test-utils — mvn dependency:get kafka-streams-test-utils · libregistry