DTStack / DTStack/chunjun

[Feature][connector][mysql] The connector supports MySQL Driver 8.x

Open
#1,899 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Java
Stars
4.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/DTStack/chunjun/issues) and found no similar feature requirement.

### Description

111

When submitting a Flink job, all the JARs under the Flink lib directory are loaded. When there is a mysql-connector-java-8.xx.xx.jar in the lib directory, the MySQL connector consumes timestamp data as LocalDateTime type. Due to the lack of compatibility in the connector, it fails to consume the data, resulting in errors in the job.

Therefore, adding logic to accommodate the mysql-connector-java-8.xx.xx.jar driver.

### Use case

_No response_

### Related issues

_No response_

### Are you willing to submit a PR?

- [X] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.