GabrielBBaldez commented on PR #11057:
URL: https://github.com/apache/seatunnel/pull/11057#issuecomment-4699402609

   Thanks @DanielLeens, good catch. Addressed in 681ed9e:
   
   `validateSnapshotStartupConfig` now rejects `stop.timestamp` and 
`stop.specific-offset.*` when `startup.mode = snapshot`, instead of silently 
overriding them with `StopMode.LATEST` at runtime. The existing `stop.mode != 
NEVER` check already covered the mode flag — this closes the offset-options gap 
you pointed out.
   
   Added `testSnapshotModeRejectsStopOptions` (asserts both the rejection and 
the error message). cdc-base and cdc-mysql tests pass locally.
   


-- 
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