craynic commented on issue #1203: URL: https://github.com/apache/flink-cdc/issues/1203#issuecomment-2065689433
> If you are building with gradle locally, you may wanna try adding > > ``` > mergeServiceFiles() > ``` > > at the bottom of build.gradle > >  > > It worked for me when submitting the uber jar to a flink cluster. For maven projects, add a transformer to maven-shade-plugin config. Example: ``` <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.1.1</version> <executions> <!-- Run shade goal on package phase --> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <!-- something else --> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> </transformers> </configuration> </execution> </executions> </plugin> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
