Skip to main content
Version: 0.6

cdc

superduper.components.cdc

Source code

build_streaming_graph​

build_streaming_graph(table,
db: 'Datalayer')
ParameterDescription
tableThe table to build the graph from.
dbDatalayer instance

Build a streaming graph from a table.

The graph has as each node a component which ingests from the table, or ingests from a component which ingests from the table (etc.).

CDC​

CDC(self,
identifier: str,
upstream: Optional[List[ForwardRef('Component')]] = None,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
*,
cdc_table: str = <property object at 0x11c42b3d0>) -> None
ParameterDescription
identifierIdentifier of the instance.
upstreamA list of upstream components.
dbDatalayer instance. Datalayer instance.
cdc_tableTable which fires the triggers.

Trigger actions when new data arrives in a table.