-
Notifications
You must be signed in to change notification settings - Fork 81
Add a quick start which contain some examples. #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
quick_start.md
Outdated
## rocketmq-streams 快速搭建 | ||
--- | ||
### 前言 | ||
本文档主要介绍如何基于rocketmq-streams快熟搭建流处理任务,搭建过程中某些例子会用到rocketmq,可以参考[rocketmq搭建文档见文档](https://rocketmq.apache.org/docs/quick-start/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentense has a typo, please check 快熟.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
quick_start.md
Outdated
## rocketmq-streams 快速搭建 | ||
--- | ||
### 前言 | ||
本文档主要介绍如何基于rocketmq-streams快熟搭建流处理任务,搭建过程中某些例子会用到rocketmq,可以参考[rocketmq搭建文档见文档](https://rocketmq.apache.org/docs/quick-start/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以参考[rocketmq搭建文档],见文档多余
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
rocketmq-streams-examples/README.md
Outdated
### 2、分时间段,统计分组中某字段的和 | ||
|
||
#### 2.1 安装rocketmq | ||
可以参考[rocketmq搭建文档见文档](https://rocketmq.apache.org/docs/quick-start/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,“见文档”多余
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
rocketmq-streams-examples/README.md
Outdated
```java | ||
public void findMax() { | ||
DataStreamSource source = StreamBuilder.dataStream("ns-1", "pl-1"); | ||
source.fromFile("/Users/nize/result.txt", false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better not to appear personal path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
缺少了远端checkpoint 的支持
already supported In the latest code. |
import java.util.Map; | ||
import java.util.Set; | ||
import java.util.UUID; | ||
import java.util.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import java.util.*; It is not recommended to use * to aggregate all imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all corrected.
|
||
可查看原数据文件,eventTime为时间字段,简单检查后上述结果与预期相符合。 | ||
|
||
#### 3.2、统计某段时间窗口内,被点击次数最多的网页 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add chapter 3.3 to describe the scale in/out ability of rocketmq-streams
* a runnable window example reading data from rocketmq. * add quick start * modify quick_start * modify example. * modify and add another pageclick example. * remove private path * fix spelling mistakes * use mysql as remote checkpoint storage * modify code style of import class * modify annotation Co-authored-by: nize <[email protected]>
* a runnable window example reading data from rocketmq. * add quick start * modify quick_start * modify example. * modify and add another pageclick example. * remove private path * fix spelling mistakes * use mysql as remote checkpoint storage * modify code style of import class * modify annotation Co-authored-by: nize <[email protected]>
* a runnable window example reading data from rocketmq. * add quick start * modify quick_start * modify example. * modify and add another pageclick example. * remove private path * fix spelling mistakes * use mysql as remote checkpoint storage * modify code style of import class * modify annotation Co-authored-by: nize <[email protected]>
* a runnable window example reading data from rocketmq. * add quick start * modify quick_start * modify example. * modify and add another pageclick example. * remove private path * fix spelling mistakes * use mysql as remote checkpoint storage * modify code style of import class * modify annotation Co-authored-by: nize <[email protected]>
Add a quick start which contain some examples.