diff --git a/Dockerfile b/Dockerfile index 6ea88fb..8a12546 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM gradle:9.2.0-jdk21 as builder COPY . . RUN gradle shadowJar -FROM flink:2.1.1-java21 +FROM flink:2.2.0-java21 RUN echo "metrics.reporters: prom" >> "$FLINK_HOME/conf/config.yaml"; \ echo "metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory" >> "$FLINK_HOME/conf/config.yaml" COPY --from=builder /home/gradle/build/libs/*.jar $FLINK_HOME/usrlib/ diff --git a/README.md b/README.md index 837abad..b02d024 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Actions Status](https://github.com/mbode/flink-prometheus-example/workflows/Gradle/badge.svg)](https://github.com/mbode/flink-prometheus-example/actions) [![codecov](https://codecov.io/gh/mbode/flink-prometheus-example/branch/master/graph/badge.svg)](https://codecov.io/gh/mbode/flink-prometheus-example) -[![Flink v2.1.1](https://img.shields.io/badge/flink-v2.1.1-blue.svg)](https://github.com/apache/flink/releases/tag/release-2.1.1) +[![Flink v2.2.0](https://img.shields.io/badge/flink-v2.2.0-blue.svg)](https://github.com/apache/flink/releases/tag/release-2.2.0) [![Prometheus v3.6.0](https://img.shields.io/badge/prometheus-v3.6.0-blue.svg)](https://github.com/prometheus/prometheus/releases/tag/v3.6.0) This repository contains the live demo to my talk _Monitoring Flink with Prometheus_, which I have given at: diff --git a/build.gradle.kts b/build.gradle.kts index 6795eb7..e7d9a42 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ java { repositories { mavenCentral() } -val flinkVersion = "2.1.1" +val flinkVersion = "2.2.0" dependencies { compileOnly("org.apache.flink:flink-streaming-java:$flinkVersion")