[Go SDK] runnerlib.Execute always dials a new job service connection

Offen
#41,745 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@igor-dv arbeitet bereits daran.

Seit 29.11.2026.

  • #41744 von @igor-dv — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
go
Bereich
api, backend

Rechercherichtung

Start by locating runnerlib.Execute, Stage, and JobOptions in the Go SDK, then trace how the job service and artifact service connections are dialed and closed. Add optional connection reuse through JobOptions.Dial while preserving the current dial-and-close behavior when it is unset. The linked open pull request #41744 indicates work is already underway.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

go new feature P2
What would you like to happen?

runnerlib.Execute dials the job service (and Stage dials the artifact service) for every job and closes both when the job ends. A process that submits many jobs in a row, especially to a local job server, can leave a lot of sockets in TIME_WAIT and run out of ephemeral ports.

I'd like an optional Dial on JobOptions so a caller can reuse a connection. If Dial is not set, behavior stays as it is: dial and close.

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

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: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Vorherrschende Sprache
Java
Sterne
8.7k
Forks
4.8k
Ø Merge
3 T. 16 Std.
Gemergte PRs (30 T.)
445

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus apache/beam

Alle Issues in apache/beam

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.