- Multi-tenancy implemented with “DB per tenant” or “Schema per tenant”
- Application-level sharding
- Cell-based architecture
Schema Configuration
Regex can be applied at the schema or database level, at the table level, or both. In the Source connector’s Schema tab, add a schema using a regex pattern (e.g.shard[0-9]*). All matching schemas will be merged, and the tables within them will be treated as a single logical set.
Advanced Settings
To enable regex support, go to the Source connector’s Settings tab and scroll to the Advanced section:- Toggle Enable regex support on
- Configure the Replacement string for matching regex snippets
- Set the Regex support key field template — an extra key field is needed to ensure unique records across merged sources (e.g.
{{database}}.{{table}}) - Set the metadata field name to store source information and ensure uniqueness (e.g.
_streamkap_source_metadata)
Column Selection Mode can also be used with regex support to include or exclude specific columns using regex patterns matching the fully qualified column name format:
schemaName.tableName.columnName.