[ https://issues.apache.org/jira/browse/BEAM-3418?focusedWorklogId=86215&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-86215 ]
ASF GitHub Bot logged work on BEAM-3418: ---------------------------------------- Author: ASF GitHub Bot Created on: 30/Mar/18 23:53 Start Date: 30/Mar/18 23:53 Worklog Time Spent: 10m Work Description: angoenka commented on a change in pull request #4980: [BEAM-3418] Support multiple SDKHarness in RunnerHarness URL: https://github.com/apache/beam/pull/4980#discussion_r178409445 ########## File path: runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/GrpcContextHeaderAccessorProvider.java ########## @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.beam.runners.fnexecution; + +import io.grpc.Context; +import io.grpc.Contexts; +import io.grpc.Metadata; +import io.grpc.Metadata.Key; +import io.grpc.ServerCall; +import io.grpc.ServerCall.Listener; +import io.grpc.ServerCallHandler; +import io.grpc.ServerInterceptor; + +/** + * A HeaderAccessorProvider which intercept the header in a GRPC request and expose the relevant + * fields. + */ +public class GrpcContextHeaderAccessorProvider { Review comment: Makes sense. ---------------------------------------------------------------- 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: 86215) Time Spent: 5h (was: 4h 50m) > Python Fnapi - Support Multiple SDK workers on a single VM > ---------------------------------------------------------- > > Key: BEAM-3418 > URL: https://issues.apache.org/jira/browse/BEAM-3418 > Project: Beam > Issue Type: Improvement > Components: sdk-py-harness > Reporter: Ankur Goenka > Assignee: Ankur Goenka > Priority: Major > Labels: performance, portability > Time Spent: 5h > Remaining Estimate: 0h > > Support multiple python SDK process on a VM to fully utilize a machine. > Each SDK Process will work in isolation and interact with Runner HarnessĀ > independently. -- This message was sent by Atlassian JIRA (v7.6.3#76005)