kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5727) Add the archetype project along with "write applications" web docs.
Date Fri, 11 Aug 2017 19:41:01 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123914#comment-16123914

ASF GitHub Bot commented on KAFKA-5727:

GitHub user guozhangwang opened a pull request:


    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:


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 <wangguoz@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 <wangguoz@gmail.com>
    Reviewers: Damian Guy <damian.guy@gmail.com>, Bill Bejeck <bbejeck@gmail.com>,
Ewen Cheslack-Postava <me@ewencp.org>, Eno Thereska <eno.thereska@gmail.com>
    Closes #3630 from guozhangwang/KMinor-streams-quickstart-tutorial

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

    rebase on 0.11.0 branch


> Add the archetype project along with "write applications" web docs.
> -------------------------------------------------------------------
>                 Key: KAFKA-5727
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5727
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>             Fix For: 1.0.0

This message was sent by Atlassian JIRA

View raw message