PostgresCdfConfig
laktory.models.resources.databricks.PostgresCdfConfig
¤
Bases: PostgresCdfConfigBase
Lakebase Autoscaling (Postgres) change data feed configuration
Replicates the tables of a Postgres schema of a database into a Unity
Catalog schema. Can also be declared in the cdf_configs of a
PostgresDatabase.
Examples:
import io
from laktory import models
cdf_yaml = '''
parent: projects/app/branches/production/databases/app-db
postgres_schema: public
catalog: dev
schema: app_replicated
'''
cdf = models.resources.databricks.PostgresCdfConfig.model_validate_yaml(
io.StringIO(cdf_yaml)
)
| BASE | DESCRIPTION |
|---|---|
catalog
|
The Unity Catalog catalog that replicated tables are written into. Set at creation; the CdfConfig is immutable
TYPE:
|
cdf_config_id
|
The user-specified id; equals the final segment of
TYPE:
|
parent
|
Database replicated from (
TYPE:
|
postgres_schema
|
The Postgres schema this CdfConfig replicates from. Unique within the parent database. Set at creation; the CdfConfig is immutable
TYPE:
|
provider_config
|
Configure the provider for management through account provider
TYPE:
|
schema_
|
The Unity Catalog schema that replicated tables are written into. Set at creation; the CdfConfig is immutable
TYPE:
|
laktory.models.resources.databricks.postgrescdfconfig.PostgresCdfConfigProviderConfig
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
workspace_id
|
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with
TYPE:
|