- 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.
![Schema tab showing a regex pattern shard[0-9]* matching 3 tables: Orders, Customers, Products1](https://mintcdn.com/streamkap/_O750WI-8g4bL1nm/images/docs/regex-schema-config.png?fit=max&auto=format&n=_O750WI-8g4bL1nm&q=85&s=d12fe508f971a5345a2817d89f65ac06)
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.