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

Aperta
#41,745 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@igor-dv ci sta già lavorando.

Dal 29/11/2026.

  • #41744 di @igor-dv — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
go
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Java
Stelle
8.7k
Fork
4.8k
Merge medio
3g 16h
PR unite (30g)
445

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/beam

Tutte le issue di apache/beam

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.