amaliujia commented on a change in pull request #14458:
URL: https://github.com/apache/beam/pull/14458#discussion_r610001518



##########
File path: 
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/data/QueueingBeamFnDataClient.java
##########
@@ -141,6 +138,11 @@ public void drainAndBlock() throws Exception {
     return this.mainClient.send(apiServiceDescriptor, outputLocation, coder);
   }
 
+  /** Resets this object so that it may be reused. */
+  public void reset() {
+    inboundDataClients.clear();

Review comment:
       Is there a need to check if InboundDataClients are 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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to