Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 760 Bytes

File metadata and controls

24 lines (21 loc) · 760 Bytes

concourse-java-mvn-example

Basic Apache Kafka Streams Examples

References

Start Confluent Stack

$ curl -O http://packages.confluent.io/archive/5.2/confluent-5.2.1-2.12.zip
$ unzip confluent-5.2.1-2.12.zip
$ ./confluent-5.2.1/bin/confluent destroy
$ ./confluent-5.2.1/bin/confluent start

BASIC-JAVA-STREAMS

Project Setup

$ mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.dh.app -DartifactId=kafka-streams-example

To Run

kafka-consumer-example/basic-java-consumer $ mvn clean compile exec:java -Dexec.mainClass="com.dh.app.App"