Basic Apache Kafka Streams Examples
$ 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
$ mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.dh.app -DartifactId=kafka-streams-example
kafka-consumer-example/basic-java-consumer $ mvn clean compile exec:java -Dexec.mainClass="com.dh.app.App"