[ https://issues.apache.org/jira/browse/BEAM-5850?focusedWorklogId=164559&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-164559 ]
ASF GitHub Bot logged work on BEAM-5850: ---------------------------------------- Author: ASF GitHub Bot Created on: 09/Nov/18 23:42 Start Date: 09/Nov/18 23:42 Worklog Time Spent: 10m Work Description: lukecwik commented on a change in pull request #6786: [BEAM-5850] Add BeamFnDataReceiver and make process, finish and start run on the same thread to support metrics. URL: https://github.com/apache/beam/pull/6786#discussion_r232423466 ########## File path: sdks/java/harness/src/main/java/org/apache/beam/fn/harness/control/ProcessBundleHandler.java ########## @@ -255,6 +258,19 @@ private void createRunnerAndConsumersForPTransformRecursively( // Create a BeamFnStateClient for (Map.Entry<String, RunnerApi.PTransform> entry : bundleDescriptor.getTransformsMap().entrySet()) { + + if (RemoteGrpcPortWrite.isSinkPtransform(entry.getValue())) { Review comment: I thought you cared that all RemoteGrpcPortReads had the same ApiServiceDescriptor, not the writes. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 164559) Time Spent: 2h 10m (was: 2h) > Make process, finish and start run on the same thread to support metrics. > ------------------------------------------------------------------------- > > Key: BEAM-5850 > URL: https://issues.apache.org/jira/browse/BEAM-5850 > Project: Beam > Issue Type: New Feature > Components: java-fn-execution > Reporter: Alex Amato > Assignee: Alex Amato > Priority: Major > Time Spent: 2h 10m > Remaining Estimate: 0h > > Update BeamFnDataReceiver to place elements into a Queue and consumer then > and call the element processing receiver in blockTillReadFinishes -- This message was sent by Atlassian JIRA (v7.6.3#76005)