Apache Beam
  • apache_beam.coders package
  • apache_beam.dataframe package
  • apache_beam.io package
    • Subpackages
      • apache_beam.io.aws package
      • apache_beam.io.azure package
      • apache_beam.io.components 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.transforms package
  • apache_beam.typehints package
  • apache_beam.utils package
  • apache_beam.yaml package
  • apache_beam.error module
  • apache_beam.pipeline module
  • apache_beam.pvalue module
Apache Beam
  • 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: str | None = None)[source]

Bases: PTransform

URN = 'flink:transform:streaming_impulse:v1'
config: Dict[str, Any] = {}
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]
Previous Next

© Copyright %Y, Apache Beam.

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