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]


Reply via email to