[
https://issues.apache.org/jira/browse/GEARPUMP-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261343#comment-15261343
]
ASF GitHub Bot commented on GEARPUMP-109:
-----------------------------------------
Github user manuzhang commented on a diff in the pull request:
https://github.com/apache/incubator-gearpump/pull/6#discussion_r61362383
--- Diff: docs/dev-write-1st-app.md ---
@@ -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](http://www.gearpump.io/releases/latest/api/scala/index.html#io.gearpump.streaming.package).
+
+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](http://www.gearpump.io/releases/latest/api/scala/index.html#io.gearpump.streaming.dsl.package).
+
+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: https://issues.apache.org/jira/browse/GEARPUMP-109
> 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
(v6.3.4#6332)