You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by guozhangwang <gi...@git.apache.org> on 2017/08/11 19:40:58 UTC

[GitHub] kafka pull request #3660: KAFKA-5727: Archetype project for Streams quicksta...

GitHub user guozhangwang opened a pull request:

    https://github.com/apache/kafka/pull/3660

    KAFKA-5727: Archetype project for Streams quickstart and tutorial web docs

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guozhangwang/kafka K5727-archetype-project-0110

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3660.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 #3660
    
----
commit b42d0399acef7eb437101c2aef4e6dbd4288f06c
Author: Guozhang Wang <wa...@gmail.com>
Date:   2017-08-11T19:19:28Z

    KAFKA-5727: 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. build the streams jar with version `1.0.0-SNAPSHOT` to local maven repository with `./gradlew installAll`; `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.
    
    Author: Guozhang Wang <wa...@gmail.com>
    
    Reviewers: Damian Guy <da...@gmail.com>, Bill Bejeck <bb...@gmail.com>, Ewen Cheslack-Postava <me...@ewencp.org>, Eno Thereska <en...@gmail.com>
    
    Closes #3630 from guozhangwang/KMinor-streams-quickstart-tutorial

commit 794b844956f52cbda92352bd4c0befcf909af2f2
Author: Guozhang Wang <wa...@gmail.com>
Date:   2017-08-11T19:39:46Z

    rebase on 0.11.0 branch

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka pull request #3660: KAFKA-5727: Archetype project for Streams quicksta...

Posted by guozhangwang <gi...@git.apache.org>.
Github user guozhangwang closed the pull request at:

    https://github.com/apache/kafka/pull/3660


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---