Closed raj-saxena closed 4 years ago
Hi, you may wish to ask this question on the Apache Beam github repro, which is now used as the SDK for Dataflow. This repo is no longer being updated and users are advised to use the Apache Beam SDK instead.
Thanks. For someone looking for this in the future, I have created an issue here
I have been working on a service that programmatically builds Dataflow pipeline using SpringBoot. My service runs perfectly when the application is started from the (IntelliJ) IDE or when I run with
./gradlew run
but fails when I create the fat-uber-jar.The issue seems to be related to https://issues.apache.org/jira/browse/BEAM-1325 and another issue https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/538 (although that is about an IDE and this is more broadly about development and deployment).
To verify, I opened the built jar and I see the following entries in the
MANIFEST.MF
file:This seems to be a pretty standard way of building SpringBoot apps and would appreciate some guidance in this direction. Meanwhile, I have unblocked myself with a workaround which has its own drawbacks. I wrote an article with more context if it helps.