how datastream use scan.incremental.snapshot.enabled not sql #3232
Answered
by
yuxiqian
X1304951263
asked this question in
Q&A
-
//debeziumProperties.setProperty("scan.incremental.snapshot.enabled", "true"); //无效
这些方式 都不行,看大家 用的都是sql模式, datastream的 应该怎么使用呢, 用了以上几种方式 都 报错 User does not have the 'LOCK TABLES' privilege required to obtain a consistent snapshot by preventing concurrent writes to tables. |
Beta Was this translation helpful? Give feedback.
Answered by
yuxiqian
Apr 17, 2024
Replies: 1 comment 2 replies
-
Are you using |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
X1304951263
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you using
org.apache.flink.cdc.connectors.mysql.source.MySqlSource
package or the legacyorg.apache.flink.cdc.connectors.mysql.MySqlSource
one? By using the former one should be equivalent to passingscan.incremental.snapshot.enabled = true
.