Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4DCC820049C for ; Fri, 11 Aug 2017 21:41:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4C3611615DA; Fri, 11 Aug 2017 19:41:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92D1916147E for ; Fri, 11 Aug 2017 21:41:08 +0200 (CEST) Received: (qmail 55632 invoked by uid 500); 11 Aug 2017 19:41:07 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 55621 invoked by uid 99); 11 Aug 2017 19:41:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2017 19:41:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 323A6C1E74 for ; Fri, 11 Aug 2017 19:41:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VPlI5_uDYZdV for ; Fri, 11 Aug 2017 19:41:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 085EC5F3D1 for ; Fri, 11 Aug 2017 19:41:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D9F3EE002C for ; Fri, 11 Aug 2017 19:41:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9F1B324195 for ; Fri, 11 Aug 2017 19:41:01 +0000 (UTC) Date: Fri, 11 Aug 2017 19:41:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-5727) Add the archetype project along with "write applications" web docs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 11 Aug 2017 19:41:09 -0000 [ 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: 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 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 Reviewers: Damian Guy , Bill Bejeck , Ewen Cheslack-Postava , Eno Thereska Closes #3630 from guozhangwang/KMinor-streams-quickstart-tutorial commit 794b844956f52cbda92352bd4c0befcf909af2f2 Author: Guozhang Wang 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 (v6.4.14#64029)