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

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

                Author: ASF GitHub Bot
            Created on: 20/Feb/20 01:56
            Start Date: 20/Feb/20 01:56
    Worklog Time Spent: 10m 
      Work Description: lostluck commented on pull request #10911: [BEAM-9339] 
Declare capabilities for Go SDK.
URL: https://github.com/apache/beam/pull/10911#discussion_r381659754
 
 

 ##########
 File path: sdks/go/pkg/beam/runners/universal/universal.go
 ##########
 @@ -78,6 +78,20 @@ func Execute(ctx context.Context, p *beam.Pipeline) error {
        return err
 }
 
+const (
+       urnLegacyProgressReporting = "beam:protocol:progress_reporting:v0"
+       urnMultiCore               = 
"beam:protocol:multi_core_bundle_processing:v1"
+)
+
+func goCapabilities() []string {
+       capabilities := []string{
+               urnLegacyProgressReporting,
+               urnLegacyProgressReporting,
+       }
+       capabilities = append(capabilities, graphx.KnownStandardCoders()...)
+       return capabilities
+}
+
 
 Review comment:
   You can return straight from the append and save a line.
   
   
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 389745)

> Declare capabilities in SDK environments
> ----------------------------------------
>
>                 Key: BEAM-9339
>                 URL: https://issues.apache.org/jira/browse/BEAM-9339
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-go, sdk-java-harness, sdk-py-harness
>            Reporter: Robert Bradshaw
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to