apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc module
Client and server classes corresponding to protobuf-defined services.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnControlStub(channel)[source]
Bases:
objectControl Plane API
Progress reporting and splitting still need further vetting. Also, this may change with the addition of new types of instructions/responses related to metrics.
An API that describes the work that a SDK harness is meant to do. Stable
Constructor.
- Parameters:
channel – A grpc.Channel.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnControlServicer[source]
Bases:
objectControl Plane API
Progress reporting and splitting still need further vetting. Also, this may change with the addition of new types of instructions/responses related to metrics.
An API that describes the work that a SDK harness is meant to do. Stable
- apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.add_BeamFnControlServicer_to_server(servicer, server)[source]
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnControl[source]
Bases:
objectControl Plane API
Progress reporting and splitting still need further vetting. Also, this may change with the addition of new types of instructions/responses related to metrics.
An API that describes the work that a SDK harness is meant to do. Stable
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnDataStub(channel)[source]
Bases:
objectStable
Constructor.
- Parameters:
channel – A grpc.Channel.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnDataServicer[source]
Bases:
objectStable
- Data(request_iterator, context)[source]
Used to send data between harnesses. Sdks default to using an unnamed data stream (without “data_stream_id” header value) for bundles unless the runner requests another named stream to be used for a bundle. SDKs can advertise that they support named data streams with the capability beam:protocol:named_data_streams:v1.
Header metadata has the specified keys pairs: - “worker_id”: value is the id of the sdk - “data_stream_id”: value is the id of the data stream, distinguishing it from other data streams from the same sdk. This field should only be populated if requested in a received ProcessBundleRequest from the runner.
- apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.add_BeamFnDataServicer_to_server(servicer, server)[source]
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnData[source]
Bases:
objectStable
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnStateStub(channel)[source]
Bases:
objectAn API for the SDK harness to access state stored by the runner on behalf of the SDK. State is scoped to the currently processing bundle and can be used for user state, side inputs, and runner-managed references. Stable
Constructor.
- Parameters:
channel – A grpc.Channel.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnStateServicer[source]
Bases:
objectAn API for the SDK harness to access state stored by the runner on behalf of the SDK. State is scoped to the currently processing bundle and can be used for user state, side inputs, and runner-managed references. Stable
- apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.add_BeamFnStateServicer_to_server(servicer, server)[source]
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnState[source]
Bases:
objectAn API for the SDK harness to access state stored by the runner on behalf of the SDK. State is scoped to the currently processing bundle and can be used for user state, side inputs, and runner-managed references. Stable
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnLoggingStub(channel)[source]
Bases:
objectStable
Constructor.
- Parameters:
channel – A grpc.Channel.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnLoggingServicer[source]
Bases:
objectStable
- apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.add_BeamFnLoggingServicer_to_server(servicer, server)[source]
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnLogging[source]
Bases:
objectStable
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnExternalWorkerPoolStub(channel)[source]
Bases:
objectAn API for the runner to manage external SDK worker processes. Allows the runner to start and stop SDK worker instances, typically used for containerized or process-based execution environments.
Constructor.
- Parameters:
channel – A grpc.Channel.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnExternalWorkerPoolServicer[source]
Bases:
objectAn API for the runner to manage external SDK worker processes. Allows the runner to start and stop SDK worker instances, typically used for containerized or process-based execution environments.
- apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.add_BeamFnExternalWorkerPoolServicer_to_server(servicer, server)[source]
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnExternalWorkerPool[source]
Bases:
objectAn API for the runner to manage external SDK worker processes. Allows the runner to start and stop SDK worker instances, typically used for containerized or process-based execution environments.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnWorkerStatusStub(channel)[source]
Bases:
objectAPI for SDKs to report debug-related statuses to runner during pipeline execution.
Constructor.
- Parameters:
channel – A grpc.Channel.
- class apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.BeamFnWorkerStatusServicer[source]
Bases:
objectAPI for SDKs to report debug-related statuses to runner during pipeline execution.
- apache_beam.portability.api.org.apache.beam.model.fn_execution.v1.beam_fn_api_pb2_grpc.add_BeamFnWorkerStatusServicer_to_server(servicer, server)[source]