apache_beam.io.flink.flink_streaming_impulse_source module¶

A PTransform that provides an unbounded, streaming source of empty byte arrays.

This can only be used with the flink runner.

class apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource(label=None)[source]¶

Bases: apache_beam.transforms.ptransform.PTransform

URN = 'flink:transform:streaming_impulse:v1'¶
config = {}¶
expand(pbegin)[source]¶
get_windowing(unused_inputs)[source]¶
infer_output_type(unused_input_type)[source]¶
to_runner_api_parameter(context)[source]¶
set_interval_ms(interval_ms)[source]¶

Sets the interval (in milliseconds) between messages in the stream.

set_message_count(message_count)[source]¶

If non-zero, the stream will produce only this many total messages. Otherwise produces an unbounded number of messages.

static from_runner_api_parameter(_ptransform, spec_parameter, _context)[source]¶
Powered by Sphinx 1.8.6 & Alabaster 0.7.13 | Page source