diff options
| author | doufenghu <[email protected]> | 2024-09-09 16:47:35 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2024-09-09 16:47:35 +0800 |
| commit | 202cf0557b3120b3599ff34015166ae8bd6c5a1b (patch) | |
| tree | a175c151ca3425f43c2a7c6b486673b9a4d8f292 /docs | |
| parent | 6e2564bef00eb0ca640f38209260b0b0fd172c95 (diff) | |
[Improve][mock-data] Add array(String) mock data
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/connector/connector.md | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/docs/connector/connector.md b/docs/connector/connector.md index 766b73e..93d64b0 100644 --- a/docs/connector/connector.md +++ b/docs/connector/connector.md @@ -1,3 +1,12 @@ +# Table of Contents +- [Source Connector](#source-connector) + - [Common Source Options](#common-source-options) + - [Schema Field Projection](#schema-field-projection) + - [Schema Config](#schema-config) + - [Mock Data Type](#mock-data-type) +- [Sink Connector](#sink-connector) + - [Common Sink Options](#common-sink-options) + # Source Connector Source Connector contains some common core features, and each source connector supports them to varying degrees. @@ -62,13 +71,12 @@ schema: To retrieve the schema from a local file using its absolute path. > Ensures that the file path is accessible to all nodes in your Flink cluster. -> -> ```yaml -> schema: -> # by array -> fields: -> local_file: "/path/to/schema.json" -> ``` + + ```yaml +schema: + # Note: Only support avro schema format + local_file: "/path/to/schema.json" +``` ### URL @@ -76,9 +84,8 @@ Some connectors support periodically fetching and updating the schema from a URL ```yaml schema: - # by array - fields: - url: "https://localhost:8080/schema.json" + # Note: Only support avro schema format + url: "https://localhost:8080/schema.json" ``` ## Mock Data Type |
