m-trieu commented on code in PR #28835:
URL: https://github.com/apache/beam/pull/28835#discussion_r1370877161
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/WindmillStream.java:
##########
@@ -41,15 +40,13 @@ public interface WindmillStream {
/** Handle representing a stream of GetWork responses. */
@ThreadSafe
interface GetWorkStream extends WindmillStream {
- /** Functional interface for receiving WorkItems. */
- @FunctionalInterface
- interface WorkItemReceiver {
- void receiveWork(
- String computation,
- @Nullable Instant inputDataWatermark,
- @Nullable Instant synchronizedProcessingTime,
- Windmill.WorkItem workItem,
- Collection<Windmill.LatencyAttribution> getWorkStreamLatencies);
+
+ /** Adjusts the {@link GetWorkBudget} for the stream. */
+ default void adjustBudget(long itemsDelta, long bytesDelta) {}
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]