1. 下载JDK、安装JDK
    https://www.java.com/zh-CN/
  2. 中文文档

https://ververica.github.io/flink-cdc-connectors/release-2.3/...

  1. 。。。

问题

Q1、创建 index pattern 无法点击 Next step

图片

Kibana上创建“index-pattern“不能匹配正确的ES索引解决办法

创建索引写入一条数据即可

https://blog.csdn.net/qq_43961619/article/details/122575235

Q2、MySQL时区错误修改
select * from products;
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.table.api.ValidationException: The MySQL server has a timezone offset (0 seconds ahead of UTC) which does not match the configured timezone Asia/Shanghai. Specify the right server-time-zone to avoid inconsistencies for time-related fields.
解决方案
置mysql的时区 MySQL默认的时区是UTC时区 
(1)永久的修改:修改mysql的配置文件my-default.ini,添加:default-time-zone=’+08:00’,重启mysql生效,注意一定要在 [mysqld] 之下加 ,否则会出现 unknown variable ‘default-time-zone=+8:00’
# 将容器6ad996300168的/www目录拷贝到主机的/tmp目录中。
docker cp  6ad996300168:/etc/mysql/mysql.cnf ./

# mysql.cnf 文件内
[mysqld] 
default-time-zone='+08:00'

# 修改后的上传回容器
docker cp ./mysql/conf.d/mysql.cnf 6ad996300168:/etc/mysql/conf.d/
Q3、cdc下载404

https://repo1.maven.org/maven2/com/ververica/

参考:
https://dbaplus.cn/news-73-3561-1.html
https://flink-learning.org.cn/developers/flink-training-course3/
https://flink-learning.org.cn/activity


极致极简
97 声望8 粉丝

极致极简