[ 
https://issues.apache.org/jira/browse/BEAM-3287?focusedWorklogId=82122&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-82122
 ]

ASF GitHub Bot logged work on BEAM-3287:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Mar/18 01:35
            Start Date: 20/Mar/18 01:35
    Worklog Time Spent: 10m 
      Work Description: herohde commented on a change in pull request #4888: 
[BEAM-3287] Add Go support for universal runners, incl Flink
URL: https://github.com/apache/beam/pull/4888#discussion_r175634310
 
 

 ##########
 File path: sdks/go/pkg/beam/runners/universal/runnerlib/job.go
 ##########
 @@ -0,0 +1,140 @@
+// 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 runnerlib
+
+import (
+       "context"
+       "fmt"
+       "io"
+
+       "github.com/apache/beam/sdks/go/pkg/beam"
+       "github.com/apache/beam/sdks/go/pkg/beam/core/runtime"
+       "github.com/apache/beam/sdks/go/pkg/beam/log"
+       jobpb "github.com/apache/beam/sdks/go/pkg/beam/model/jobmanagement_v1"
+       pb "github.com/apache/beam/sdks/go/pkg/beam/model/pipeline_v1"
+       "github.com/apache/beam/sdks/go/pkg/beam/provision"
+       "github.com/golang/protobuf/proto"
+)
+
+// JobOptions capture the various options for submitting jobs
+// to universal runners.
+type JobOptions struct {
+       // Name is the job name.
+       Name string
+       // Experiments are additional experiments.
+       Experiments []string
+
+       // TODO(herohde) 3/17/2018: add further parametrization as needed
+
+       // InternalJavaRunner is the class of the receiving Java runner. To be 
removed.
+       InternalJavaRunner string
+}
+
+// Prepare prepares a job to the given endpoint. It returns an id and 
endpoint, if successful.
 
 Review comment:
   Yes. Rephrased the description.

----------------------------------------------------------------
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: 82122)
    Time Spent: 2h  (was: 1h 50m)

> Go SDK support for portable pipelines
> -------------------------------------
>
>                 Key: BEAM-3287
>                 URL: https://issues.apache.org/jira/browse/BEAM-3287
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Assignee: Henning Rohde
>            Priority: Major
>              Labels: portability
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The Go SDK should participate in the portability framework, incl. job 
> submission w/ a docker container image.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to