m-trieu commented on code in PR #31784:
URL: https://github.com/apache/beam/pull/31784#discussion_r1691675427
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/GrpcDirectGetWorkStream.java:
##########
@@ -101,25 +105,33 @@ private GrpcDirectGetWorkStream(
Set<AbstractWindmillStream<?, ?>> streamRegistry,
int logEveryNStreamFailures,
ThrottleTimer getWorkThrottleTimer,
- Supplier<GetDataStream> getDataStream,
+ Supplier<HeartbeatSender> heartbeatSender,
+ Supplier<GetDataClient> getDataClient,
Supplier<WorkCommitter> workCommitter,
WorkItemScheduler workItemScheduler) {
super(
- startGetWorkRpcFn, backoff, streamObserverFactory, streamRegistry,
logEveryNStreamFailures);
+ startGetWorkRpcFn,
+ backoff,
+ streamObserverFactory,
+ streamRegistry,
+ logEveryNStreamFailures,
+ backendWorkerToken);
this.request = request;
this.getWorkThrottleTimer = getWorkThrottleTimer;
this.workItemScheduler = workItemScheduler;
this.workItemBuffers = new ConcurrentHashMap<>();
// Use the same GetDataStream and CommitWorkStream instances to process
all the work in this
Review Comment:
removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]