Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-37422][docs] Fix typo in streaming analytics zh document #26249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content.zh/docs/learn-flink/streaming_analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Flink 中事件时间的处理取决于 *watermark 生成器*,后者将带有
<a name="latency-vs-completeness"></a>
### 延迟 VS 正确性

watermarks 给了开发者流处理的一种选择,它们使开发人员在开发应用程序时可以控制延迟和完整性之间的权衡。与批处理不同,批处理中的奢侈之处在于可以在产生任何结果之前完全了解输入,而使用流式传输,我们不被允许等待所有的时间都产生了,才输出排序好的数据,这与流相违背。
watermarks 给了开发者流处理的一种选择,它们使开发人员在开发应用程序时可以控制延迟和完整性之间的权衡。与批处理不同,批处理中的奢侈之处在于可以在产生任何结果之前完全了解输入,而使用流式传输,我们不被允许等待所有的数据都产生了,才输出排序好的数据,这与流相违背。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From google translate the change it to wait for all the data from wait for all the time, which seems reasonable.

At the end of this line I notice:
The English:
with streaming you must eventually stop waiting to see more of the input, and produce some sort of result.
The Chinese:
we are not allowed to wait for all the data to be produced before outputting the sorted data, which is contrary to the flow.

Please could you review this piece of the changed line as well, as the meaning seems different to the English. This could be a quirk of google translate but saying you are not allowed to wait - is not the same as the English.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Google Translate does not fully express the meaning of Chinese. It should be translated like this。

we cannot wait until all the data has been generated before output the sorted data, as this would go against the principles of stream processing.


我们可以把 watermarks 的边界时间配置的相对较短,从而冒着在输入了解不完全的情况下产生结果的风险-即可能会很快产生错误结果。或者,你可以等待更长的时间,并利用对输入流的更全面的了解来产生结果。

Expand Down