RocMarshal commented on a change in pull request #18718:
URL: https://github.com/apache/flink/pull/18718#discussion_r805173884



##########
File path: docs/content.zh/docs/connectors/datastream/filesystem.md
##########
@@ -94,33 +88,29 @@ final FileSource<String> source =
 {{< /tab >}}
 {{< /tabs >}}
 
-### Format Types
+### 格式化类型
 
-The reading of each file happens through file readers defined by file formats.
-These define the parsing logic for the contents of the file. There are 
multiple classes that the source supports.
-The interfaces are a tradeoff between simplicity of implementation and 
flexibility/efficiency.
+每个文件的读取都是通过定义了某种文件格式的文件阅读器进行读取的。
+它们定义了解析和读取文件内容的逻辑。数据源支持多个解析类。
+这些接口是实现简单性和灵活性/效率之间的折衷。
 
-* A `StreamFormat` reads the contents of a file from a file stream. It is the 
simplest format to implement,
-  and provides many features out-of-the-box (like checkpointing logic) but is 
limited in the optimizations it can apply
-  (such as object reuse, batching, etc.).
+*  `StreamFormat` 从文件流中读取文件内容。它是最简单的格式实现,
+   并且提供了许多现成的功能(如检查点逻辑),但是在可应用的优化方面受到限制(例如对象重用,批处理,等等)。
 
-* A `BulkFormat` reads batches of records from a file at a time.
-  It is the most "low level" format to implement, but offers the greatest 
flexibility to optimize the implementation.
+* `BulkFormat` 从文件中一次读取一批记录。
+  它是最 "低层次" 的格式实现,但是它提供了最大的灵活性来实现优化。

Review comment:
       nit:
   ```
     它虽然是最 "底层" 的格式实现,但是提供了优化实现的最大灵活性。
   ```




-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to