You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/10/05 20:03:51 UTC

[GitHub] [incubator-seatunnel] ChenpiDog commented on issue #2018: [Bug] [Set Up with Kubernetes, JDBC as source] According to the official website document, the data synchronization with MySQL as the source failed.

ChenpiDog commented on issue #2018:
URL: https://github.com/apache/incubator-seatunnel/issues/2018#issuecomment-1265409013

   > Excuse me, how can I add dependencies: flink-connector-jdbc_xxxx in kubernetes
   
   @h472591847 Sorry, have you solved it now? The following is my docker file for reference.
   
   FROM flink:1.13.6
   
   ENV SEATUNNEL_VERSION="2.1.0"
   
   RUN wget https://archive.apache.org/dist/incubator/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
   RUN tar -xzvf apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
   
   RUN mkdir -p $FLINK_HOME/usrlib
   RUN cp apache-seatunnel-incubating-${SEATUNNEL_VERSION}/lib/seatunnel-core-flink.jar $FLINK_HOME/usrlib/seatunnel-core-flink.jar
   ADD ./flink-connector-jdbc_2.11-1.13.6.jar $FLINK_HOME/lib/
   ADD ./mysql-connector-java-8.0.17.jar $FLINK_HOME/lib/
   
   RUN rm -fr apache-seatunnel-incubating-${SEATUNNEL_VERSION}*


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org