[
https://issues.apache.org/jira/browse/BEAM-13223?focusedWorklogId=680988&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-680988
]
ASF GitHub Bot logged work on BEAM-13223:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Nov/21 21:05
Start Date: 12/Nov/21 21:05
Worklog Time Spent: 10m
Work Description: pcoet commented on a change in pull request #15941:
URL: https://github.com/apache/beam/pull/15941#discussion_r748574358
##########
File path: website/www/site/content/en/documentation/programming-guide.md
##########
@@ -6555,6 +6555,115 @@ In this section, we will use
[KafkaIO.Read](https://beam.apache.org/releases/jav
#### 13.1.1. Creating cross-language Java transforms
+There are two ways to make Java transforms available to other SDKs.
+
+* Option 1: In some cases, you can use existing Java transforms from other
SDKs without writing any additional Java code.
+* Option 2: You can use arbitrary Java Transforms from other SDKs by adding
few Java classes.
+
+##### 13.1.1.1 Using Existing Java Transforms from Other SDKs Without Writing
more Java Code
+
+Starting with Beam 2.34.0, Python SDK users can use some Java transforms
without writing additional Java code. This can be useful in many cases. For
example,
+* A developer not familiar with Java may need to use an existing Java
transform from a Python pipeline
+* A developer may need to make a Java transform that is already released,
available to a Python pipeline without writing/releasing more Java code
+
+> **Note:** This feature is currently only available when using Java
transforms from a Python pipeline.
+
+To be eligible for direct usage, API of the Java transforms has to follow the
following pattern.
+* Requirement 1: Java transform can be constructed using an available public
constructor or a public static method (a constructor method) in the same Java
class.
Review comment:
"Requirement 1: Java" -> "Requirement 1: The Java"
--
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: 680988)
Time Spent: 40m (was: 0.5h)
> Document new features of cross-language transforms
> --------------------------------------------------
>
> Key: BEAM-13223
> URL: https://issues.apache.org/jira/browse/BEAM-13223
> Project: Beam
> Issue Type: Improvement
> Components: cross-language, website
> Reporter: Chamikara Madhusanka Jayalath
> Assignee: Chamikara Madhusanka Jayalath
> Priority: P2
> Time Spent: 40m
> Remaining Estimate: 0h
>
> We have to document the following new features.
> * Java-class-lookup based expansion when using Java transforms from Python.
> * URN convention for cross-language transforms
--
This message was sent by Atlassian Jira
(v8.20.1#820001)