spdl.pipeline.defs.SinkConfig

class SinkConfig(buffer_size: int)[source]

A sink configuration.

The sink is where the final result of pipeline is buffered. Its item type is supplied explicitly; capacity alone does not determine it. Unparameterized sink configurations retain dynamic item types.

See also

Example: Pipeline definitions

Illustrates how to build a complex pipeline.

Attributes

buffer_size: int