fix(mysql-cdc): support MySQL 8.4+ binlog status via SHOW BINARY LOG …#4290
fix(mysql-cdc): support MySQL 8.4+ binlog status via SHOW BINARY LOG …#4290reganzm wants to merge 1 commit intoapache:release-2.4from
Conversation
|
Thank you for your contribution and i left some comment |
but I have successfully resolved the issue of supporting mysql8.4 through this modification and deployed it to the official environment without any problems。Anyway, a good outcome |
|
may be u can see the discusion with #3666 |
if u don't have error with your env and i think u can packege with snapashot |
|
Hi @reganzm, thanks for your contribution! But AFAIK CDC connectors 2.x is no longer maintained, and new features are not considered. I'll close this as not planned, but opening another PR to |
Problem
MySQL 8.4 deprecates
SHOW MASTER STATUS. Connector fails atDebeziumUtils.currentBinlogOffset().Solution
SELECT VERSION()to detect MySQL version.SHOW BINARY LOG STATUS.SHOW MASTER STATUSfor 8.0 and below.Testing
mvn clean install -DskipTests.