[
https://issues.apache.org/jira/browse/BEAM-12832?focusedWorklogId=650227&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-650227
]
ASF GitHub Bot logged work on BEAM-12832:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/21 20:36
Start Date: 13/Sep/21 20:36
Worklog Time Spent: 10m
Work Description: chamikaramj commented on a change in pull request
#15447:
URL: https://github.com/apache/beam/pull/15447#discussion_r707661875
##########
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; see more at
Review comment:
We should also add something analogous to the following in Python
section.
"Make sure the transform you're trying to use is available and can be used
by the expansion service. For Java, make sure the builder and registrar for the
transform are available in the classpath of the expansion service."
--
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: 650227)
Time Spent: 1h 40m (was: 1.5h)
> 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: 1h 40m
> 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)