Skip to content

Commit 97596a4

Browse files
authored
[NU-1790] Flink 1.19 adaptations (#194)
1 parent 4b8224a commit 97596a4

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ services:
229229
build:
230230
context: ./flink/
231231
args:
232-
FLINK_VERSION: "1.18.1-scala_2.12-java11"
232+
FLINK_VERSION: "1.19.1-scala_2.12-java11"
233233
no_cache: true
234234
restart: unless-stopped
235235
command: jobmanager
@@ -246,7 +246,7 @@ services:
246246
build:
247247
context: ./flink/
248248
args:
249-
FLINK_VERSION: "1.18.1-scala_2.12-java11"
249+
FLINK_VERSION: "1.19.1-scala_2.12-java11"
250250
no_cache: true
251251
restart: unless-stopped
252252
command: taskmanager

flink/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ RUN echo '#!/bin/sh' > /ex-docker-entrypoint.sh && \
1616
COPY --from=lib_provider /libs/ /opt/flink/lib/
1717

1818
USER flink
19-
COPY flink-properties.yml /opt/flink/conf/
2019
RUN mkdir -p /opt/flink/data && \
2120
chmod -R 777 /opt/flink/data
2221

22+
COPY flink-properties.yml /opt/flink/conf/
23+
2324
VOLUME /opt/flink/data
2425

2526
ENTRYPOINT [ "/ex-docker-entrypoint.sh" ]

flink/flink-properties.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
taskmanager.numberOfTaskSlots: 8
22

3-
state.backend: filesystem
3+
state.backend.type: filesystem
44
state.checkpoints.dir: file:///opt/flink/data/checkpoints
55
state.savepoints.dir: file:///opt/flink/data/savepoints
66

@@ -21,8 +21,8 @@ metrics.reporter.influxdb_reporter.port: 8087
2121
metrics.reporter.influxdb_reporter.db: nussknacker_metrics
2222
metrics.reporter.influxdb_reporter.scope.variables.excludes: tm_id;job_id;task_id;task_attempt_id;operator_id;task_attempt_num;task_name
2323
metrics.scope.jm: local.<host>.jobmanagerGlobal
24-
metrics.scope.jm.job: local.<host>.jobmanagerJob.<job_name>
24+
metrics.scope.jm-job: local.<host>.jobmanagerJob.<job_name>
2525
metrics.scope.tm: local.<host>.taskmanagerGlobal.<tm_id>
26-
metrics.scope.tm.job: local.<host>.taskmanagerJob.<tm_id>.<job_name>
26+
metrics.scope.tm-job: local.<host>.taskmanagerJob.<tm_id>.<job_name>
2727
metrics.scope.task: local.<host>.taskmanagerTask.<tm_id>.<job_name>.<task_name>.<subtask_index>
2828
metrics.scope.operator: local.<host>.taskmanagerTask.<tm_id>.<job_name>.<operator_name>.<subtask_index>

0 commit comments

Comments
 (0)