简体   繁体   English

无法在 GKE 上部署 mysql debezium 连接器 - 用户没有“锁定表”权限

[英]Unable to deploy mysql debezium connector on GKE - User does not have the 'LOCK TABLES' privileges

We are deploying Debezium mysql-cdc-connector on GKE.我们正在 GKE 上部署 Debezium mysql-cdc-connector After the deployment the pod is failing with following error:部署后 pod 失败并出现以下错误:

caused by: org.apache.kafka.connect.errors.ConnectException: User does not have the 'LOCK TABLES' privilege required to obtain a consistent snapshot by preventing concurrent writes to tables.原因:org.apache.kafka.connect.errors.ConnectException:用户没有通过阻止并发写入表来获得一致快照所需的“LOCK TABLES”权限。

To overcome this without giving lock table access to the user, we can set snapshot.locking.mode=none .为了在不给用户锁定表访问权限的情况下克服这个问题,我们可以设置snapshot.locking.mode=none But we are not able to figure out where to update the code repo .但是我们无法弄清楚在哪里更新代码仓库

In order to set this configuration you should add "snapshot.locking.mode": "none", in your json configuration file and proceed with the steps described in here in order to start running a MySQL connector.为了设置此配置,您应该在 json 配置文件中添加"snapshot.locking.mode": "none",并继续执行此处描述的步骤,以开始运行 MySQL 连接器。

Please remind to configure a connector configuration, and add the configuration to your Kafka Connect cluster.请提醒配置连接器配置,并将配置添加到您的 Kafka Connect 集群。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Debezium Mysql 连接器中将更多表列入白名单的有效方法 - Efficient ways for whitelisting more tables in Debezium Mysql Connector Debezium MySQL Source Connector 是否支持 mysql ldap 可插拔身份验证 - Does Debezium MySQL Source Connector support mysql ldap pluggable authentication Debezium - 自定义负载 - MySQL 连接器 - Debezium - Custom Payload - MySQL Connector 在 Debezium 中,某些主题无法按照 MySQL 的表创建 - Some topics are unable to created as per tables of MySQL in Debezium MySQL用户权限-将用户限制为某些表 - MySQL User Privileges - Restrict Users to some tables 当用户具有特权时,MySQL Fabric添加组报告用户(结构)没有适当的特权 - MySQL Fabric add group report User (fabric) does not have appropriate privileges when user have privilege 为数据库中的多个表配置 debezium 连接器 - Configure a debezium connector for multiple tables in a database 将包含数据的新表包含到现有 Debezium 连接器中 - Include new tables with data to existing Debezium connector 基于Kafka Debezium mysql连接器的主题:对于ksql流和表,所有列值都以'null'结尾 - Kafka debezium mysql connector-based topic: For ksql streams and tables, all column values end up 'null' Mysql debezium connector for rds in production造成死锁 - Mysql debezium connector for rds in production caused deadlocks
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM