Vamsi-klu commented on code in PR #28494:
URL: https://github.com/apache/flink/pull/28494#discussion_r3445491150


##########
docs/content.zh/docs/dev/datastream/overview.md:
##########
@@ -213,7 +213,7 @@ Data Sources
 {{< tabs "8104e62c-db79-40b0-8519-0063e9be791f" >}}
 {{< tab "Java" >}}
 
-Source 是你的程序从中读取其输入的地方。你可以用 
`StreamExecutionEnvironment.addSource(sourceFunction)` 将一个 source 关联到你的程序。Flink 
自带了许多预先实现的 source functions,不过你仍然可以通过实现 `SourceFunction` 接口编写自定义的非并行 
source,也可以通过实现 `ParallelSourceFunction` 接口或者继承 `RichParallelSourceFunction` 
类编写自定义的并行 sources。
+Source 是你的程序从中读取其输入的地方。你可以用 
`StreamExecutionEnvironment.addSource(sourceFunction)` 将一个 source 关联到你的程序。Flink 
自带了许多预先实现的 source functions,不过你仍然可以通过实现 {{< gh_link 
file="flink-runtime/src/main/java/org/apache/flink/streaming/api/functions/source/legacy/SourceFunction.java"
 name="SourceFunction" >}} 接口编写自定义的非并行 source,也可以通过实现 `ParallelSourceFunction` 
接口或者继承 `RichParallelSourceFunction` 类编写自定义的并行 sources。

Review Comment:
   Good point, thanks. I only linked `SourceFunction` because FLINK-23140 
reported that broken link specifically, but `ParallelSourceFunction` and 
`RichParallelSourceFunction` are part of the same legacy source API and are 
mentioned in the same sentence. I’ll update both the English and Chinese docs 
to link those two consistently as well.



-- 
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