Skip to main content
Version: Main branch

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,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
uuid: None = <factory>,
*,
upstream: "t.Optional[t.List['Component']]" = None,
plugins: "t.Optional[t.List['Plugin']]" = None,
artifacts: 'dc.InitVar[t.Optional[t.Dict]]' = None,
cache: 't.Optional[bool]' = True,
status: 't.Optional[Status]' = None,
cdc_table: str = <property object at 0x11659f790>) -> None
ParameterDescription
identifierIdentifier of the leaf.
dbDatalayer instance.
uuidUUID of the leaf.
artifactsA dictionary of artifacts paths and DataType objects
upstreamA list of upstream components
pluginsA list of plugins to be used in the component.
cache(Optional) If set true the component will not be cached during primary job of the component i.e on a distributed cluster this component will be reloaded on every component task e.g model prediction.
statusWhat part of the lifecycle the component is in.
cdc_tableTable which fires the triggers.

Trigger a ion when a condition is met.

Note that this feature deploys on superduper.io Enterprise.