Skip to content

Commit 17a8a55

Browse files
committed
added flink config.
1 parent 668e496 commit 17a8a55

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

conf/flink/flink-conf.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
jobmanager.rpc.address: localhost
2+
jobmanager.rpc.port: 6123
3+
jobmanager.bind-host: 0.0.0.0
4+
5+
jobmanager.memory.process.size: 1600m
6+
7+
taskmanager.bind-host: 0.0.0.0
8+
9+
taskmanager.host: localhost
10+
11+
taskmanager.memory.process.size: 1728m
12+
13+
taskmanager.numberOfTaskSlots: 1
14+
15+
parallelism.default: 1
16+
17+
execution.checkpointing.interval: 10s
18+
execution.checkpointing.tolerable-failed-checkpoints: 10
19+
20+
state.backend: filesystem
21+
state.checkpoints.dir: s3://lakehouse/flink/checkpoint
22+
state.savepoints.dir: s3://lakehouse/flink/savepoints
23+
state.backend.incremental: true
24+
25+
jobmanager.execution.failover-strategy: region
26+
27+
rest.address: 0.0.0.0
28+
29+
rest.bind-address: 0.0.0.0
30+
31+
32+
# S3/Minio access key and secret
33+
s3.access-key: minio
34+
s3.secret-key: minio123
35+
s3.ssl.enabled: false
36+
s3.path.style.access: true
37+
s3.endpoint: http://minio:9000
38+
39+
fs.s3a.access.key: minio
40+
fs.s3a.secret.key: minio123
41+
42+
fs.s3a.endpoint: http://minio:9000
43+
fs.s3a.path.style.access: true
44+
45+
46+
#plugin.classloader.parent-first-patterns.additional: org.apache.iceberg
47+

conf/flink/sql-client-defaults.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
catalogs:
2+
- name: iceberg
3+
type: iceberg
4+
default-database: iceberg_db
5+
catalog-type: hive
6+
warehouse: s3a://lakehouse/iceberg/
7+
uri: thrift://hive-metastore:9083
8+
clients: 5
9+
property-version: 1

docker-compose-mds.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ services:
9898
s3.path.style.access: true
9999
s3.access-key: minio
100100
s3.secret-key: minio123
101+
volumes:
102+
- ./conf/flink/flink-conf.yaml:/opt/flink/conf/flink-conf.yaml
101103
networks:
102104
- ngdbp-network
103105

@@ -119,6 +121,8 @@ services:
119121
s3.path.style.access: true
120122
s3.access-key: minio
121123
s3.secret-key: minio123
124+
volumes:
125+
- ./conf/flink/flink-conf.yaml:/opt/flink/conf/flink-conf.yaml
122126
networks:
123127
- ngdbp-network
124128

0 commit comments

Comments
 (0)