hutiefang76 opened a new pull request, #13382:
URL: https://github.com/apache/seatunnel/pull/13382

   ### Purpose of this pull request
   
   Yes, I'd like to contribute this fix to Apache SeaTunnel. Fixes #13371.
   
   OceanBase Binlog Service can accept `SHOW BINARY LOGS` for file listing 
while still using `SHOW MASTER STATUS` for the current position. The OceanBase 
CDC source now selects the listing command through its dialect for both 
`earliest` and `timestamp` startup. The current-position query and the MySQL 
CDC command selection stay as they were.
   
   ### Does this PR introduce any user-facing change?
   
   Yes. The two OceanBase startup modes use `SHOW BINARY LOGS` to enumerate 
files. No option or offset format changes are needed. The English and Chinese 
connector pages describe the required command.
   
   ### How was this patch tested?
   
   - Ran Spotless and the JDK 11 Maven `verify` lifecycle for the MySQL and 
OceanBase CDC modules. All 15 selected tests passed. The JDBC fixture checks 
both listing calls for OceanBase and for legacy and modern MySQL.
   - Added an `earliest` case to the existing MySQL-backed OceanBase 
compatibility test. The two cases use separate tables and server IDs. The E2E 
module compiled with tests skipped. Checked that SeaTunnel resolves both test 
job configurations.
   - The offline full reactor reached both connector modules successfully and 
was blocked in unrelated modules by uncached dependencies. The MySQL-backed 
compatibility test and a real OceanBase Binlog Service run for both startup 
modes are still pending.
   
   DeepSeek assisted with implementation and the first review. The test results 
above come from local execution.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to