Registry / messaging / kafka-streams

kafka-streams

JSON →
library4.2.0javamavenunverified

Kafka Streams is a client library for building stream processing applications on top of Apache Kafka.

<dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>4.2.0</version> </dependency>
INSTALL
IMPORT
SIG · KAFKA-STREAMS
K
kafka-streams
messagingjavav4.2.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.

KafkaStreams
org.apache.kafka.streams.KafkaStreams

Starts a Kafka Streams application that reads from an input topic and writes to an output topic.

import org.apache.kafka.streams.KafkaStreams; import org.apache.kafka.streams.StreamsBuilder; 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, "my-app"); props.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092"); StreamsBuilder builder = new StreamsBuilder(); builder.stream("input-topic").to("output-topic"); KafkaStreams streams = new KafkaStreams(builder.build(), props); streams.start(); } }
Debug
Known issues
gotchaKafka Streams requires a running Kafka cluster; ensure bootstrap servers are reachable.
fix
Start a Kafka broker or use a hosted service.
affects: all
Upgrade
Version history
4.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
kafka-streams — mvn dependency:get kafka-streams · libregistry