'mysql-connector can't release global read lock

debezium-connector-mysql,debezium-core and debezium-embedded. I use these debezium plugin in my java app. Problem: Method throws StopConnectorException then can't released "global read lock"



Solution 1:[1]

If using a hosted option that does not allow a global read lock, table-level locks are used to create the consistent snapshot. In this case, you need to also grant LOCK TABLES permissions to the user that you create.

https://debezium.io/documentation/reference/stable/connectors/mysql.html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Behnam Anjomruz