edman124 commented on code in PR #29879:
URL: https://github.com/apache/beam/pull/29879#discussion_r1451104873
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java:
##########
@@ -252,8 +253,8 @@ public class StreamingDataflowWorker {
private final Counter<Integer, Integer> totalAllocatedThreads;
private final Counter<Long, Long> outstandingBytes;
private final Counter<Long, Long> maxOutstandingBytes;
- private final Counter<Long, Long> outstandingBundles;
- private final Counter<Long, Long> maxOutstandingBundles;
+ private final Counter<Integer, Integer> outstandingBundles;
Review Comment:
I reverted the Long->Integer change and just cast the value from the
BoundedQueueExecutor as a Long since it is stored as an int under the hood.
--
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]