Skip to content

Commit c9563a2

Browse files
committed
nit
1 parent 1a4669d commit c9563a2

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

website/docs/quickstart/flink.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ Congratulations, you are all set!
123123

124124
If you want to run with your own Flink environment, you can follow the following instructions.
125125

126-
1. Download the desired Flink version (The following example takes Apache Flink 1.20 as an example.)
126+
1. Download the desired Flink version (The following example takes Apache Flink 1.20.3 as an example.)
127127

128128
```shell
129129
wget https://dlcdn.apache.org/flink/flink-1.20.3/flink-1.20.3-bin-scala_2.12.tgz; tar -zxvf flink-1.20.3-bin-scala_2.12.tgz
130130
```
131131

132-
2. Download [fluss-flink connector jar](/downloads), [flink-connector-faker](https://github.com/knaufk/flink-faker/releases) and then put them to `FLINK_HOME/lib/`.
132+
1. Download [fluss-flink connector jar](/downloads), [flink-connector-faker](https://github.com/knaufk/flink-faker/releases) and then put them to `flink-1.20.3/lib/`.
133133

134-
3. Create a `docker-compose.yml` file with the following content:
134+
2. Create a `docker-compose.yml` file with the following content:
135135

136136
```yaml
137137
services:
@@ -166,26 +166,22 @@ services:
166166
#end
167167
#begin Flink cluster
168168
flink-standalone:
169-
image: apache/fluss-quickstart-flink:1.20-$FLUSS_DOCKER_VERSION$
169+
image: apache/fluss:0.8.0-incubating
170170
ports:
171171
- "8083:8081"
172-
command: jobmanager
173-
environment:
174-
- |
175-
FLINK_PROPERTIES=
176-
jobmanager.rpc.address: jobmanager
177-
taskmanager:
178-
image: apache/fluss-quickstart-flink:1.20-$FLUSS_DOCKER_VERSION$
179-
depends_on:
180-
- jobmanager
181-
command: taskmanager
172+
command: sh -c "/opt/flink/bin/start-cluster.sh"
182173
environment:
183174
- |
184175
FLINK_PROPERTIES=
185176
jobmanager.rpc.address: flink-standalone
177+
rest.address: flink-standalone
178+
rest.bind-address: 0.0.0.0
186179
taskmanager.numberOfTaskSlots: 10
187180
taskmanager.memory.process.size: 2048m
188181
taskmanager.memory.framework.off-heap.size: 256m
182+
volumes:
183+
- shared-tmpfs:/tmp/iceberg
184+
- ./flink-1.20.3:/opt/flink
189185
#end
190186
```
191187

0 commit comments

Comments
 (0)