yuxiqian opened a new pull request, #4190:
URL: https://github.com/apache/flink-cdc/pull/4190

   This closes FLINK-38779.
   
   CDC Pipeline router supports simple table name replacement for now. A route 
rule like this:
   
   ```yaml
   - { source-table: 'db.\\.*', sink-table: 'new_db.<>', replace-symbol: '<>' }
   ```
   
   synchronizes all tables in `db` to `new_db`.
   
   More complicated routing rules, including re-mapping database and schema 
name, or capturing parts of identifiers, is not possible.
   
   Current API could be extended to support standard RegEx capturing & 
replacement syntaxes like this:
   
   ```yaml
   - { source-table: 'db.(\\.*)', sink-table: 'new_db.$1' }
   ```
   
   and keep backwards compatiblility.
   
   `TableIdRouter` has been moved to `flink-cdc-common` as a Public API.


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