Error 1: interaction between canal and MySQL
Explanation: the essential reason is that the same IP generates too many interrupted database connections (exceeding the maximum value of max_connect_errors) in a short time
If the MySQL server continuously receives requests from the same host, and all these continuous requests are unsuccessful, the established connection will be interrupted. When the cumulative value of these continuous requests is greater than When you set the value of max_connect_errors, the MySQL server will block all subsequent requests from this host.
Solution: Mysqladmin flush hosts – H 127.0.0.1 – uroot – P password
Error 2: Kafka cannot consume data
Reason: the number of partitions of the theme I created is insufficient. You can manually add the same number of partitions as those set in instance.properties in conf/example of canal
Execute the following command:
//1. View the subject details and the number of partitions
kafka-topics.sh –bootstrap-server hadoop102:9092 –describe –topic ODS_BASE_DB_C
//2. Manually add the number of partitions
kafka-topics.sh –bootstrap-server hadoop102:9092 –alter –partitions 4 –topic ODS_BASE_DB_C
Read More:
- How to Solve Kafka Error: no leader
- Kafka executes the script to create topic error: error org apache. kafka. common. errors. InvalidReplicationFactorException: Replicati
- [Solved] Canal Error: CanalParseException: column size is not match,parse row data failed
- [Solved] Win 10 Kafka error: failed to construct Kafka consumer
- [Solved] kafka Startup Error: ERROR Shutdown broker because all log dirs in /…/kafka/logs have failed (kafka.log.LogManager)
- [Solved] Kafka Error: kafka.common.InconsistentClusterIdException…
- [Solved] Kafka Error: InvalidReplicationFactorException: Replication factor:
- [Solved] MYSQLD: Can‘t create directory ‘/usr/local/mysql/data/’(Errcode:2 -No such file or directory)
- Kafka error: ERROR There was an error in one of the threads during logs loading: java.lang.NumberFormatException: For input string: “derby” (kafka.log.LogManager)
- [Solved] Canal 1.1.5 Startup Error: caching_sha2_password Auth failed
- How to Solve mount error(6): No such device or address
- How to Solve Show() error caused by empty data
- How to Solve Excel Error Log 1: Data format error
- How to Solve Error: You need to use a Theme.AppCompat theme (or descendant) with this activity.
- How to Solve pod Error: “Authentication token is invalid or unverified. Either verify it with the email that…”
- Git: How to Solve Error: Please commit your changes or stash them before you merge.
- How to Solve Error: Missing type map configuration or unsupported mapping
- Sqoop exports hive data to MySQL Error [How to Solve]
- How to Solve Doris dynamic partition table routineload Error
- [Solved] Kafka2.3.0 Error: Timeout of 60000ms expired before the position for partition could be determined