StreamSrcPlugin
class StreamSrcPlugin
Bases: ABC
Categories: spi
Plugin implementing the long-running side of a StreamSrc
subclass (CDC, log tail, queue tail).
Methods
method
rundef run(ctx: StreamSrcPluginCtx, conn: C, stream_src: SS)
Drive the change stream until ctx.active flips to
False or a signal arrives. Implementations seed from config
when ctx.first_stage else from ctx.stream_state, then
call ctx.stage for batches as they complete (honouring
ctx.flush_interval_mins).
Parameters:
parameter
parameter
connCparameter
stream_srcSS