File tree Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ services:
166166 # ## KAFKA-related services:
167167
168168 kafka :
169- image : bitnami /kafka:3.7.0
169+ image : bitnamilegacy /kafka:3.7.0
170170 restart : unless-stopped
171171 hostname : nu-kafka
172172 environment :
@@ -186,7 +186,7 @@ services:
186186 memory : 512M
187187
188188 schema-registry :
189- image : bitnami /schema-registry:7.6.1
189+ image : bitnamilegacy /schema-registry:7.6.1
190190 restart : unless-stopped
191191 environment :
192192 SCHEMA_REGISTRY_LISTENERS : " http://0.0.0.0:8081"
@@ -236,7 +236,7 @@ services:
236236 build :
237237 context : ./flink/
238238 args :
239- FLINK_VERSION : " 1.19.1- scala_2.12-java11 "
239+ TOUK_FLINK_VERSION : " 1.1.4-flink1.20.2- scala_2.12"
240240 no_cache : true
241241 restart : unless-stopped
242242 command : jobmanager
@@ -257,7 +257,7 @@ services:
257257 build :
258258 context : ./flink/
259259 args :
260- FLINK_VERSION : " 1.19.1- scala_2.12-java11 "
260+ TOUK_FLINK_VERSION : " 1.1.4-flink1.20.2- scala_2.12"
261261 no_cache : true
262262 restart : unless-stopped
263263 command : taskmanager
Original file line number Diff line number Diff line change 1- ARG FLINK_VERSION= "FLINK_VERSION_IS_UNDEFINED"
1+ ARG TOUK_FLINK_VERSION
22
3- FROM curlimages/curl:8.9.1 AS lib_provider
4-
5- # Adding custom libraries ('add other libraries' section):
6- # https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/standalone/docker/#further-customization
7- WORKDIR /libs
8- RUN curl -k --output /libs/postgresql-42.6.0.jar https://repo1.maven.org/maven2/org/postgresql/postgresql/42.6.0/postgresql-42.6.0.jar
9-
10- FROM flink:${FLINK_VERSION}
3+ FROM touk/flink:${TOUK_FLINK_VERSION}
114
125USER root
136RUN echo '#!/bin/sh' > /ex-docker-entrypoint.sh && \
147 echo 'export FLINK_PROPERTIES=$(cat /opt/flink/conf/flink-properties.yml) && /docker-entrypoint.sh "$@"' >> /ex-docker-entrypoint.sh && \
158 chmod +x /ex-docker-entrypoint.sh
16- COPY --from=lib_provider /libs/ /opt/flink/lib/
179
1810USER flink
11+ COPY flink-properties.yml /opt/flink/conf/
1912RUN mkdir -p /opt/flink/data && \
2013 chmod -R 777 /opt/flink/data
2114
22- COPY flink-properties.yml /opt/flink/conf/
23-
2415VOLUME /opt/flink/data
2516
2617ENTRYPOINT [ "/ex-docker-entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ jobmanager.memory.jvm-metaspace.size: 500m
88
99state.backend.type : filesystem
1010state.checkpoints.dir : file:///opt/flink/data/checkpoints
11- state.savepoints. dir : file:///opt/flink/data/savepoints
11+ execution.checkpointing.savepoint- dir : file:///opt/flink/data/savepoints
1212
1313# Below are base settings for rocksdb metrics, that can be used for grafana dashboards
1414state.backend.rocksdb.metrics.estimate-num-keys : true
You can’t perform that action at this time.
0 commit comments