Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hwywl/flink-examples
Flink 学习产生的代码,对主要的功能进行了demo测试,写了详细的注释,按模块分开方便学习。
https://github.com/hwywl/flink-examples
flink kinesis
Last synced: 4 days ago
JSON representation
Flink 学习产生的代码,对主要的功能进行了demo测试,写了详细的注释,按模块分开方便学习。
- Host: GitHub
- URL: https://github.com/hwywl/flink-examples
- Owner: HWYWL
- License: mit
- Created: 2020-09-11T01:50:10.000Z (about 4 years ago)
- Default Branch: 1.12.x
- Last Pushed: 2022-01-13T07:25:10.000Z (almost 3 years ago)
- Last Synced: 2023-02-27T12:06:16.993Z (over 1 year ago)
- Topics: flink, kinesis
- Language: Java
- Homepage:
- Size: 103 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flink-examples
Flink code examples### 配置
```shell
cd /home/hadoop/flink-1.12.4/conf
vim flink-conf.yaml
# 我这边机器内存是32G,所以把任务槽调整为8个
taskmanager.numberOfTaskSlots: 8
```### 启动
```shell
./home/hadoop/flink-1.12.4/bin/flink run -c com.yi.streaming.state.FlinkStateMapState /home/hadoop/app/flink-examples-1.0-SNAPSHOT.jar
```### git版本分支
```
matser: 对应Flink 1.12.x之前版本的代码
1.12.x: 对应Flink 1.12.x版本的代码
```