You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DE-8810: Pipeline SDK shouldn't mark kafka as a dependency (#81)
* DE-8810: Set Kafka connector dependency to compileOnly so we can bundle our own fork
* DE-8810: Add testImplementation dependency on Kafka connector
* DE-8810: Add explicit kafka-clients dependency to example project
* DE-8810: Change kafka-clients dependency in example project to flink-connector-kafka
* DE-8810: Add explicit matrix for Flink and Kafka connector versions in workflow
* DE-8810: Fix project dir variable
* DE-8810: More workflow fixes
* DE-8810: Revert 1.20 dependency changes to see if that fixes the build
* DE-8810: Don't include aws-msk-iam-auth in SDK
* DE-8810: Instead of automagically excluding compileOnly dependencies from shadow, use explicit configuration excludeFromShadow for that purpose; make flink-connector-kafka a testImplementation dependency of the example project as it is now bundled with our Flink images
* DE-8810: Do not exclude transitive dependencies of flink-connector-kafka from example (that would exclude Jackson)
* DE-8810: Fix Kafka connector version
* DE-8810: Fix Maven build dependencies
* DE-8810: Move flink-connector-kafka to compileOnly and testImplementation for 1.20
* DE-8810: Remove unnecessary dependencies from tests
sed -i 's/<decodable.pipeline.sdk.version>.*<\/decodable.pipeline.sdk.version>/<decodable.pipeline.sdk.version>'"$FLINK_VERSION-$RELEASE_VERSION"'<\/decodable.pipeline.sdk.version>/g' examples/custom-pipelines-hello-world/pom.xml
52
53
sed -i 's/sdkVersion = \x27.*\x27/sdkVersion = \x27'"$FLINK_VERSION-$RELEASE_VERSION"'\x27/g' examples/custom-pipelines-hello-world/build.gradle
53
54
54
55
sed -i 's/<flink.version>.*<\/flink.version>/<flink.version>'"$FLINK_VERSION"'<\/flink.version>/g' examples/custom-pipelines-hello-world/pom.xml
55
56
sed -i 's/flinkVersion = \x27.*\x27/flinkVersion = \x27'"$FLINK_VERSION"'\x27/g' examples/custom-pipelines-hello-world/build.gradle
56
57
58
+
sed -i 's/<flink.kafka.connector.version>.*<\/flink.kafka.connector.version>/<flink.kafka.connector.version>'"$KAFKA_CONNECTOR_VERSION"'<\/flink.kafka.connector.version>/g' examples/custom-pipelines-hello-world/pom.xml
59
+
sed -i 's/kafkaConnectorVersion = \x27.*\x27/kafkaConnectorVersion = \x27'"$KAFKA_CONNECTOR_VERSION"'\x27/g' examples/custom-pipelines-hello-world/build.gradle
60
+
57
61
- name: Build SDK
58
-
run: cd sdk/${{ matrix.value }} && ../gradlew build publishToMavenLocal
62
+
run: cd sdk/${{ matrix.value.project-dir }} && ../gradlew build publishToMavenLocal
59
63
60
64
- name: Build example project with Maven
61
65
run: cd examples/custom-pipelines-hello-world && ./mvnw -B clean verify
0 commit comments