SEZ9 commented on PR #11206:
URL: https://github.com/apache/seatunnel/pull/11206#issuecomment-7053289914
Thanks for the follow-up discussion. The thread still records the head as
unchanged at `531db9be494e7c6aca617b45d3f8972045e75513`, so the earlier points
remain open and nothing counts as delivered from discussion alone. Please
address them together in a new commit, each with a regression test that
exercises the runtime path.
**Blocking behavior**
- **PR11206-F2 (single initial table on Zeta):** `SeaTunnelSourceCollector`
registers a runtime `CreateTableEvent` only when the produced type is a
`MultipleRowType`. A job that starts with exactly one matched table must also
learn the new table's row type.
- **PR11206-F1 (JDBC capability check):**
`JdbcSinkFactory.supportsNewlyCreatedTable()` needs to be configuration-aware.
An exactly-once or custom-`query` sink should be rejected before any writer,
save-mode or quarantine side effect, and should fail the job rather than
quarantine the table under `CONTINUE_OTHER_TABLES`.
- **PR11206-F5 (retries under the schema barrier):** Runtime writer creation
in `MultiTableSinkWriter` retries with `TimeUnit.SECONDS.sleep` while every
queue worker is parked. One failing new table must not stall the other tables
and checkpoints for the whole retry window.
- **PR11206-F7 (DROP then re-CREATE):** A second `CREATE TABLE` for an
already registered path must not be ignored in
`SeaTunnelRowDebeziumDeserializeSchema`. The replacement schema has to refresh
the converters and the sink schema.
- **PR11206-F8 (admission bound):** Runtime admission needs an upper bound
and a removal path, so sink writers and checkpoint state cannot grow without
limit.
**Docs (`docs/en/connectors/source/MySQL-CDC.md`)**
- **PR11206-F9:** State how the runtime option relates to
`schema-changes.enabled`, and that it overrides a user-supplied `debezium {
include.schema.changes }`.
- **PR11206-F10:** Document, in both the option row and the "Newly Added
Tables" section, that `scan.binlog.newly-added-table.enabled` is rejected at
startup when `table-names` is configured.
- **PR11206-F11:** State which engines support runtime table registration.
For PR11206-F8, could you also confirm which bound and removal behavior you
intend to implement, so the docs can describe exactly that scope?
<!-- streview-comment:2497 -->
--
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]