[
https://issues.apache.org/jira/browse/BEAM-12832?focusedWorklogId=648362&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-648362
]
ASF GitHub Bot logged work on BEAM-12832:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Sep/21 03:44
Start Date: 09/Sep/21 03:44
Worklog Time Spent: 10m
Work Description: youngoli commented on a change in pull request #15447:
URL: https://github.com/apache/beam/pull/15447#discussion_r704927830
##########
File path: website/www/site/content/en/documentation/programming-guide.md
##########
@@ -6416,6 +6421,68 @@ with pipeline as p:
4. After the job has been submitted to the Beam runner, shutdown the expansion
service by terminating the expansion service process.
+#### 13.2.3. Using cross-language transforms in a Go pipeline
+
+If a Go-specific wrapper for a cross-language is available, use that;
otherwise, you have to use the
+lower-level
[CrossLanguage](https://pkg.go.dev/github.com/apache/beam/sdks/go/pkg/beam#CrossLanguage)
+function to access the transform.
+
+**Expansion Services**
+
+The Go SDK does not yet support automatically starting an expansion service.
In order to use
+cross-language transforms, you must manually start any necessary expansion
services on your local
+machine and ensure they are accessible to your code during pipeline
construction.
Review comment:
Why not? I added one anyway and just left a note saying that it may be
easier to implement after Xlang override/registration is added.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 648362)
Time Spent: 50m (was: 40m)
> Add Go SDK to "Using Cross-language Transforms" in programming guide
> --------------------------------------------------------------------
>
> Key: BEAM-12832
> URL: https://issues.apache.org/jira/browse/BEAM-12832
> Project: Beam
> Issue Type: Sub-task
> Components: cross-language, website
> Reporter: Daniel Oliveira
> Assignee: Daniel Oliveira
> Priority: P2
> Time Spent: 50m
> Remaining Estimate: 0h
>
> [https://beam.apache.org/documentation/programming-guide/#1321-using-cross-language-transforms-in-a-java-pipeline]
> This should add instructions and equivalent examples to the existing SDKs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)