arunpandianp commented on code in PR #33512:
URL: https://github.com/apache/beam/pull/33512#discussion_r1910206106


##########
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowStreamingPipelineOptions.java:
##########
@@ -136,6 +136,11 @@ public interface DataflowStreamingPipelineOptions extends 
PipelineOptions {
 
   void setUseSeparateWindmillHeartbeatStreams(Boolean value);
 
+  @Description("If true, GetWorkStreams will request multiple work items in a 
response chunk.")
+  boolean getWindmillMultipleItemsInGetWorkResponse();

Review Comment:
   Done



##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/GrpcDirectGetWorkStream.java:
##########
@@ -184,6 +182,7 @@ private void maybeSendRequestExtension(GetWorkBudget 
extension) {
                         Windmill.StreamingGetWorkRequestExtension.newBuilder()
                             .setMaxItems(extension.items())
                             .setMaxBytes(extension.bytes()))
+                    
.setSupportsMultipleWorkItemsInChunk(multipleItemsInGetWorkResponse)

Review Comment:
   Done



-- 
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]

Reply via email to