Skip to content

Add new resource hints: max active bundles per worker #34529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 22, 2025
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -2026,5 +2026,9 @@ message StandardResourceHints {
// SDKs should accept and validate a positive integer count.
// Payload: ASCII encoded string of the base 10 representation of an integer number of CPUs.
CPU_COUNT = 2 [(beam_urn) = "beam:resources:cpu_count:v1"];
// Describes max number of active bundles per worker in transform's execution environment.
// SDKs should accept and validate a positive integer count.
// Payload: ASCII encoded string of the base 10 representation of an integer number of active bundles.
MAX_ACTIVE_BUNDLES_PER_WORKER = 3 [(beam_urn) = "beam:resources:max_active_bundles_per_worker:v1"];
}
}
1,543 changes: 745 additions & 798 deletions sdks/go/pkg/beam/model/pipeline_v1/beam_runner_api.pb.go

Large diffs are not rendered by default.

150 changes: 0 additions & 150 deletions sdks/go/pkg/beam/model/pipeline_v1/beam_runner_api_grpc.pb.go

This file was deleted.

Loading
Loading