GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/3630
MINOR: Add Streams quickstart tutorial as an archetype project 0. Minor fixes on the existing examples to merge all on a single input topic; also do not use `common.utils.Exit` as it is for internal usage only. 1. Add the archetype project for the quickstart. Steps to try it out: a. `mvn install` on the quickstart directory. b. `mvn archetype:generate \ -DarchetypeGroupId=org.apache.kafka \ -DarchetypeArtifactId=streams-quickstart-java \ -DarchetypeVersion=1.0.0-SNAPSHOT \ -DgroupId=streams-quickstart \ -DartifactId=streams-quickstart \ -Dversion=0.1 \ -Dpackage=StreamsQuickstart \ -DinteractiveMode=false` at any directory to create the project. c. `cd streams-quickstart; mvn clean package` d. create the input / output topics, start the console producer and consumer. e. start the program: `mvn exec:java -Dexec.mainClass=StreamsQuickstart.Pipe/LineSplit/WordCount`. f. type data on console producer and observe data on console consumer. You can merge this pull request into a Git repository by running: $ git pull https://github.com/guozhangwang/kafka KMinor-streams-quickstart-tutorial Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3630.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3630 ---- commit 879ba88841e65671116186f9de259b7aea9ad4d1 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-07-10T01:43:51Z fix a few typos on streams quickstart commit 4dd0c22373adf72798aaecf882e0918e30f65ddb Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-07-10T16:39:58Z make quickstart more interactive commit a21eecce9a169d0d1580133147339b4396882451 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-07-17T04:56:37Z Github comments commit 2ac01b11cfff581f71dc29acbf57c2816d27bda4 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-07-17T16:22:52Z remove extra quote commit bf16c0aea03a5dd166498a2f6984daa3548c75c3 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-07-20T14:26:40Z add the first example code commit c7da966cf7d08fa029156e025d903ae34c36fb54 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-07-22T05:58:41Z rebase from trunk commit 64c60bfd77fe700a7456dff959cbcfd2dc4a70c6 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-03T01:32:04Z rebase from trunk commit 010c76fd93cdb29a8ff83c6fb5511e1f20287e59 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-04T18:07:30Z Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/kafka into KMinor-streams-quickstart-tutorial commit 1d6b641c3239cd72674a4c21fe44a30289d37d3e Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-04T23:21:18Z add quickstart archetype for streams commit b1371749d3fd8b8fa462a239836a21d45aa91963 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-08-04T23:23:08Z Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/kafka into KMinor-streams-quickstart-tutorial ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---