-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Update pipeline step messaging to be compatible with Java 17 #391
Comments
DOD with @csun-cpointe |
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
OTS with @csun-cpointe |
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
carter-cundiff
changed the title
Feature: Update pipeline step messaging for Java 17
Feature: Update pipeline step messaging to be compatible with Java 17
Oct 10, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
carter-cundiff
added a commit
that referenced
this issue
Oct 10, 2024
#391 Update pipeline step messaging to be compatible with Java 17
ewilkins-csi
added a commit
that referenced
this issue
Oct 10, 2024
In ad25749 we added the extensions-messaging-kafka dependency to pipelines by default so the Kafka CDI context could be added in CdiContainerFactory. The test-mda-model projects do not regenerate their POM files on rebuild, so we need to add the new dependencies manually.
ewilkins-csi
added a commit
that referenced
this issue
Oct 10, 2024
[#391] add kafka dependency to test projects
Both tests passed successfully! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Follow on to #133, where we want to migrate our whole repository to java 17.
Foundation-messaging
was completed as part of #355, so this issue will focus on migrating the messaging implementation (extensions-messaging
) to enable messaging within downstream projects.DOD
extensions-messaging
submodules to build with JDK 17mvn dependency:analyze
Test Strategy/Script
Test New Project
mvn -v
to verify it's configured properly. The output should be similar to the following (Note: java distributions different thankopenjdk
are okay):OTS Only:
Create a downstream project:
Add the attached SparkPipelineMessaging.json to the
test-391-pipeline-models/src/main/resources/pipelines/
directoryRun
mvn clean install
until all the manual actions are completeUpdate the
protected String executeStepImpl(String inbound)
method withintest-391-pipelines/spark-pipeline-messaging/src/main/java/com/test/SparkSyncStep.java
to have the following:mvn clean install -Dmaven.build.cache.skipCache
to get any remaining manual actionstilt up
spark-pipeline-messaging
resourcekubectl exec -it kafka-cluster-0 -- sh
{"test":"InboundMessage"}
, then hit<ENTER>
once and<CTRL+C>
to exitspark-pipeline-messaging
resource in tilt and verify you now see the following logs:Verify it returns the following:
Exit message
Use
<CTRL+C>
to exit and enterexit
to leave the podtilt down
kubectl delete pvc data-kafka-cluster-0
Test Upgrading Project
mvn -v
to verify it's configured properly1.9.2
:Add the attached SparkPipelineMessaging.json to the
test-391-upgrade-pipeline-models/src/main/resources/pipelines/
directoryRun
mvn clean install
until all the manual actions are completeRun
mvn clean install -Dmaven.build.cache.skipCache
to get any remaining manual actionsUpdate the parent in the root
pom.xml
to1.10.0-SNAPSHOT
Update the
smallrye-reactive-messaging-kafka
dependency to look like the following withintest-391-upgrade-pipelines/spark-pipeline-messaging/pom.xml
(Workaround from Feature: Upgrade Quarkus to 3.6+ #263 bug):mvn -v
to verify it's configured properlytest-391-upgrade-pipelines/spark-pipeline-messaging/src/main/java/com/test/cdi/CdiContainerFactory.java
now has the following:test-391-upgrade-pipelines/spark-pipeline-messaging/pom.xml
now has the following:References/Additional Context
The text was updated successfully, but these errors were encountered: