Apache Beam
  • apache_beam.coders package
  • apache_beam.dataframe package
  • apache_beam.internal package
  • apache_beam.io package
    • Subpackages
      • apache_beam.io.aws package
      • apache_beam.io.external package
      • apache_beam.io.flink package
        • Submodules
      • apache_beam.io.gcp package
    • Submodules
  • apache_beam.metrics package
  • apache_beam.ml package
  • apache_beam.options package
  • apache_beam.portability package
  • apache_beam.runners package
  • apache_beam.testing package
  • apache_beam.tools package
  • apache_beam.transforms package
  • apache_beam.typehints package
  • apache_beam.utils package
  • apache_beam.error module
  • apache_beam.pipeline module
  • apache_beam.pvalue module
  • apache_beam.version module
Apache Beam
  • Docs »
  • apache_beam.io package »
  • apache_beam.io.flink package »
  • apache_beam.io.flink.flink_streaming_impulse_source module
  • View page source

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(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]¶
Next Previous

© Copyright

Built with Sphinx using a theme provided by Read the Docs.