apache/beam

[Feature Request]: add drain() method to PipelineResult

Open

#38,771 opened on Jun 2, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (7,313 stars) (4,097 forks)batch import
P3good first issuejavanew feature

Description

What would you like to happen?

both Flink and Dataflow supports that. PipelineResult allow stopping pipeline, drain may be helpful addition.

Issue Priority

Priority: 3 (nice-to-have improvement)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Prism Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Contributor guide