Poorna Premachandra
08/24/2025, 3:28 AM[config_error] MySQL Connector Error: The sync encountered an unexpected error in the change event producer and has stopped. Please check the logs for details and troubleshoot accordingly.
https://docs.oracle.com/javase/9/docs/api/java/lang/RuntimeException.html
the connection set to sync from CDC. initial sync completes in 12 hours with 375 GB loaded. Binlogs are available for 16 hours. After initial sync completed second sync ran and in 1 hour it gets failed with 1 hour. In source connection, I have set initial loadout time to 16 hours and concurrency to 2 as well.
What could be the issue here?kapa.ai
08/24/2025, 3:29 AMbinlog_expire_logs_seconds (recommended: 7 days). [MySQL Source Troubleshooting](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#troubleshooting) ### 3. Schema Changes or Table Map Issues If there are schema changes (columns added/removed) between the initial and incremental syncs, or if the connector starts reading the binlog in the middle of a logical event group, you may see errors like: > No TableMapEventData has been found for table id:... Usually that means that you have started reading binary log 'within the logical event group' (e.g. from WRITE_ROWS and not proceeding TABLE_MAP) [MySQL CDC Issue - Debezium error](https://github.com/airbytehq/airbyte/issues/51607) ### 4. Large Table/Resource Constraints Large initial syncs (375 GB) can stress the system and may cause timeouts or resource exhaustion, especially if the sync containers run out of memory or disk, or if the MySQL server closes idle connections due to timeout settings. ### Recommendations - Increase Binlog Retention: Set your MySQL binlog retention to at least several days (e.g., 3-7 days) to ensure the required binlog positions are available for incremental syncs, especially after large initial loads. - Check for Schema Changes: Ensure no schema changes occur between the initial and incremental syncs. - Review Logs: Look for specific errors in the Airbyte logs related to binlog position, schema mismatch, or deserialization errors for more targeted troubleshooting. - Sync More Frequently: Reduce the interval between syncs to minimize the risk of binlog expiration. - Resource Allocation: Ensure your Airbyte and database servers have sufficient resources (memory, disk, network) to handle large syncs. If the problem persists, please provide the specific error message from the Airbyte logs after the second sync fails for more targeted assistance. References integrated above.