You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the official doc, it is by design. However, it makes more sense to allow users to distribute schema-level ddl to different topics based on the schema name.
The text was updated successfully, but these errors were encountered:
Based on the open protocol, the data is consumed, and the default topic is distributed to the database-level DDL. The table-level DDL and DML are in the same topic. The coordination of the two DDLs is difficult to control. It is difficult to determine whether the default topic DDL that is dependent on has arrived, and whether the table-level DDL should wait. The same topic can be sent uniformly, so that the same logic can be used as the table level, and any <= DDL commitTs event can be guaranteed to have been sent.
Suggestion:
Considering that dispatchers may have multiple different schema or table distribution requirements, it is recommended to embed the database-level DDL in a certain dispatcher to control the database level to be distributed to the corresponding controlled topic. As for whether to consume, it is controlled by the program, for example: add the parameter enable_dispatcher_database to control it?
What did you do?
create database marvin
in TiDBWhat did you expect to see?
Dispatch create database ddl to
cdc_marvin_topic
What did you see instead?
TiCDC dispatch schema-level ddl to
default-topic
From the official doc, it is by design. However, it makes more sense to allow users to distribute schema-level ddl to different topics based on the schema name.
The text was updated successfully, but these errors were encountered: