From 6f435b09b195217fd723f8103b1a6ecbeb4dac36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Tue, 4 Jan 2022 17:25:12 +0100 Subject: [PATCH] Cleanup Flink dependencies, fix #301 --- .../buildSrc/src/main/groovy/theodolite.flink.gradle | 7 +++---- theodolite-benchmarks/flink-commons/build.gradle | 4 ---- theodolite-benchmarks/uc2-flink/build.gradle | 12 ------------ theodolite-benchmarks/uc3-flink/build.gradle | 12 ------------ 4 files changed, 3 insertions(+), 32 deletions(-) diff --git a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.flink.gradle b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.flink.gradle index 009c6ed95..26a827b60 100644 --- a/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.flink.gradle +++ b/theodolite-benchmarks/buildSrc/src/main/groovy/theodolite.flink.gradle @@ -45,17 +45,16 @@ dependencies { implementation 'org.slf4j:slf4j-simple:1.6.1' implementation project(':flink-commons') - //compile group: 'org.apache.kafka', name: 'kafka-clients', version: "2.2.0" implementation "org.apache.flink:flink-java:${flinkVersion}" implementation "org.apache.flink:flink-streaming-java_${scalaBinaryVersion}:${flinkVersion}" - implementation "org.apache.flink:flink-table-api-java-bridge_${scalaBinaryVersion}:${flinkVersion}" - implementation "org.apache.flink:flink-table-planner-blink_${scalaBinaryVersion}:${flinkVersion}" implementation "org.apache.flink:flink-connector-kafka_${scalaBinaryVersion}:${flinkVersion}" implementation "org.apache.flink:flink-avro:${flinkVersion}" implementation "org.apache.flink:flink-avro-confluent-registry:${flinkVersion}" - implementation "org.apache.flink:flink-runtime-web_${scalaBinaryVersion}:${flinkVersion}" // For debugging implementation "org.apache.flink:flink-statebackend-rocksdb_${scalaBinaryVersion}:${flinkVersion}" implementation "org.apache.flink:flink-metrics-prometheus_${scalaBinaryVersion}:${flinkVersion}" + implementation "org.apache.flink:flink-runtime-web_${scalaBinaryVersion}:${flinkVersion}" // For debugging + + // Use JUnit test framework testImplementation 'junit:junit:4.12' diff --git a/theodolite-benchmarks/flink-commons/build.gradle b/theodolite-benchmarks/flink-commons/build.gradle index 6beb0ea8f..edd48c914 100644 --- a/theodolite-benchmarks/flink-commons/build.gradle +++ b/theodolite-benchmarks/flink-commons/build.gradle @@ -20,16 +20,12 @@ repositories { dependencies { // Special version required because of https://issues.apache.org/jira/browse/FLINK-13703 implementation('org.industrial-devops:titan-ccp-common:0.1.0-flink-ready-SNAPSHOT') { changing = true } - implementation('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT') { changing = true } implementation 'com.google.guava:guava:30.1-jre' - implementation "org.apache.flink:flink-java:${flinkVersion}" implementation "org.apache.flink:flink-streaming-java_${scalaBinaryVersion}:${flinkVersion}" implementation "org.apache.flink:flink-connector-kafka_${scalaBinaryVersion}:${flinkVersion}" - implementation "org.apache.flink:flink-avro:${flinkVersion}" implementation "org.apache.flink:flink-avro-confluent-registry:${flinkVersion}" implementation "org.apache.flink:flink-statebackend-rocksdb_${scalaBinaryVersion}:${flinkVersion}" - implementation "org.apache.flink:flink-runtime_${scalaBinaryVersion}:${flinkVersion}" // Use JUnit test framework testImplementation 'junit:junit:4.12' diff --git a/theodolite-benchmarks/uc2-flink/build.gradle b/theodolite-benchmarks/uc2-flink/build.gradle index 680b802ce..0be6f3773 100644 --- a/theodolite-benchmarks/uc2-flink/build.gradle +++ b/theodolite-benchmarks/uc2-flink/build.gradle @@ -2,16 +2,4 @@ plugins { id 'theodolite.flink' } -allprojects { - repositories { - maven { - url 'https://packages.confluent.io/maven/' - } - } -} - -dependencies { - compile('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT') -} - mainClassName = "theodolite.uc2.application.HistoryServiceFlinkJob" diff --git a/theodolite-benchmarks/uc3-flink/build.gradle b/theodolite-benchmarks/uc3-flink/build.gradle index 7f74b4b6f..b8bb79bc1 100644 --- a/theodolite-benchmarks/uc3-flink/build.gradle +++ b/theodolite-benchmarks/uc3-flink/build.gradle @@ -2,16 +2,4 @@ plugins { id 'theodolite.flink' } -allprojects { - repositories { - maven { - url 'https://packages.confluent.io/maven/' - } - } -} - -dependencies { - compile('org.industrial-devops:titan-ccp-common-kafka:0.1.0-SNAPSHOT') -} - mainClassName = "theodolite.uc3.application.HistoryServiceFlinkJob" -- GitLab