gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (GEARPUMP-109) Add Java example for WordCount in document.
Date Thu, 28 Apr 2016 01:18:12 GMT


ASF GitHub Bot commented on GEARPUMP-109:

Github user manuzhang commented on a diff in the pull request:
    --- Diff: docs/ ---
    @@ -14,23 +14,131 @@ Repository and library dependencies can be found at [Maven Setting](maven-settin
     ### IDE Setup (Optional)
     You can get your preferred IDE ready for Gearpump by following [this guide](dev-ide-setup.html).
    -### Define Processor(Task) class and Partitioner class
    +### Decide which language and API to use for writing 
    +Gearpump supports two level APIs:
    -An application is a Directed Acyclic Graph (DAG) of processors. In the wordcount example,
We will firstly define two processors `Split` and `Sum`, and then weave them together.
    +1. Low level API, which is more similar to Akka programming, operating on each event.
The API document can be found at [Low Level API Doc](
    +2. High level API (aka DSL), which is operating on streaming instead of individual event.
The API document can be found at [DSL API Doc](
    +And both APIs have their Java version and Scala version.
    +So, before you writing our first Gearpump application, you need to decide which API to
use and which language to use. 
    --- End diff --
    "you writing our first" => "you write your first"

> Add Java example for WordCount in document.
> -------------------------------------------
>                 Key: GEARPUMP-109
>                 URL:
>             Project: Apache Gearpump
>          Issue Type: Improvement
>          Components: doc
>    Affects Versions: 0.8.1
>            Reporter: Weihua Jiang
>            Assignee: Weihua Jiang
>            Priority: Minor
> Currently, in our document, we only have Scala version for wordcount. It is better to
have both Scala version and Java version.

This message was sent by Atlassian JIRA

View raw message