Skip to content

Commit a2ab166

Browse files
authored
[Improve][Project] Code format with spotless plugin. (#4101)
1 parent 290c4a4 commit a2ab166

1,787 files changed

Lines changed: 38117 additions & 28002 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/en/Connector-v2-release-state.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Connector Release Status
2+
23
SeaTunnel uses a grading system for connectors to help you understand what to expect from a connector:
34

4-
| | Alpha | Beta | General Availability (GA) |
5+
| | Alpha | Beta | General Availability (GA) |
56
|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
67
| Expectations | An alpha connector signifies a connector under development and helps SeaTunnel gather early feedback and issues reported by early adopters. We strongly discourage using alpha releases for production use cases | A beta connector is considered stable and reliable with no backwards incompatible changes but has not been validated by a broader group of users. We expect to find and fix a few issues and bugs in the release before it’s ready for GA. | A generally available connector has been deemed ready for use in a production environment and is officially supported by SeaTunnel. Its documentation is considered sufficient to support widespread adoption. |
78
| | | | |
89
| Production Readiness | No | Yes | Yes |
910

1011
## Connector V2 Health
1112

12-
| Connector Name | Type | Status | Support Version |
13+
| Connector Name | Type | Status | Support Version |
1314
|-------------------------------------------------------------|--------|--------|-----------------|
1415
| [AmazonDynamoDB](connector-v2/sink/AmazonDynamoDB.md) | Sink | Beta | 2.3.0 |
1516
| [AmazonDynamoDB](connector-v2/source/AmazonDynamoDB.md) | Source | Beta | 2.3.0 |
@@ -82,3 +83,4 @@ SeaTunnel uses a grading system for connectors to help you understand what to ex
8283
| [Socket](connector-v2/source/Socket.md) | Source | Beta | 2.2.0-beta |
8384
| [StarRocks](connector-v2/sink/StarRocks.md) | Sink | Alpha | 2.3.0 |
8485
| [Tablestore](connector-v2/sink/Tablestore.md) | Sink | Alpha | 2.3.0 |
86+

docs/en/about.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ SeaTunnel is a very easy-to-use ultra-high-performance distributed data integrat
99
synchronization of massive data. It can synchronize tens of billions of data stably and efficiently every day, and has
1010
been used in the production of nearly 100 companies.
1111

12-
1312
## Why do we need SeaTunnel
1413

1514
SeaTunnel focuses on data integration and data synchronization, and is mainly designed to solve common problems in the field of data integration:
@@ -49,7 +48,7 @@ The default engine use by SeaTunnel is [SeaTunnel Engine](seatunnel-engine/about
4948

5049
## Connector
5150

52-
- **Source Connectors** SeaTunnel support read data from various relational databases, graph databases, NoSQL databases, document databases, and memory databases. Various distributed file systems such as HDFS. A variety of cloud storage, such as S3 and OSS. At the same time, we also support data reading of many common SaaS services. You can access the detailed list [here](connector-v2/source). If you want, You can develop your own source connector and easily integrate it into seatunnel.
51+
- **Source Connectors** SeaTunnel support read data from various relational databases, graph databases, NoSQL databases, document databases, and memory databases. Various distributed file systems such as HDFS. A variety of cloud storage, such as S3 and OSS. At the same time, we also support data reading of many common SaaS services. You can access the detailed list [here](connector-v2/source). If you want, You can develop your own source connector and easily integrate it into seatunnel.
5352

5453
- **Transform Connector** If the schema is different between source and sink, You can use Transform Connector to change the schema read from source and make it same as the sink schema.
5554

docs/en/concept/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2+
23
sidebar_position: 2
3-
---
4+
-------------------
45

56
# Intro to config file
67

@@ -11,7 +12,6 @@ configure the Config file.
1112
The main format of the Config file is `hocon`, for more details of this format type you can refer to [HOCON-GUIDE](https://github.com/lightbend/config/blob/main/HOCON.md),
1213
BTW, we also support the `json` format, but you should know that the name of the config file should end with `.json`
1314

14-
1515
## Example
1616

1717
Before you read on, you can find config file

docs/en/concept/connector-v2-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Streaming Job Mode, The data read is unbounded and the job never stop.
4242

4343
### parallelism
4444

45-
Parallelism Source Connector support config `parallelism`, every parallelism will create a task to read the data.
45+
Parallelism Source Connector support config `parallelism`, every parallelism will create a task to read the data.
4646
In the **Parallelism Source Connector**, the source will be split into multiple splits, and then the enumerator will allocate the splits to the SourceReader for processing.
4747

4848
### support user-defined split
@@ -64,4 +64,4 @@ For sink connector, the sink connector supports exactly-once if any piece of dat
6464

6565
### cdc(change data capture)
6666

67-
If a sink connector supports writing row kinds(INSERT/UPDATE_BEFORE/UPDATE_AFTER/DELETE) based on primary key, we think it supports cdc(change data capture).
67+
If a sink connector supports writing row kinds(INSERT/UPDATE_BEFORE/UPDATE_AFTER/DELETE) based on primary key, we think it supports cdc(change data capture).

docs/en/concept/schema-feature.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ Some NoSQL databases or message queue are not strongly limited schema, so the sc
66

77
## What type supported at now
88

9-
| Data type | Description |
10-
| :-------- | :----------------------------------------------------------- |
11-
| string | string |
12-
| boolean | boolean |
13-
| tinyint | -128 to 127 regular. 0 to 255 unsigned*. Specify the maximum number of digits in parentheses. |
14-
| smallint | -32768 to 32767 General. 0 to 65535 unsigned*. Specify the maximum number of digits in parentheses. |
15-
| int | All numbers from -2,147,483,648 to 2,147,483,647 are allowed. |
16-
| bigint | All numbers between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 are allowed. |
17-
| float | Float-precision numeric data from -1.79E+308 to 1.79E+308. |
18-
| double | Double precision floating point. Handle most decimals. |
19-
| decimal | DOUBLE type stored as a string, allowing a fixed decimal point. |
20-
| null | null |
21-
| bytes | bytes. |
22-
| date | Only the date is stored. From January 1, 0001 to December 31, 9999. |
23-
| time | Only store time. Accuracy is 100 nanoseconds. |
24-
| timestamp | Stores a unique number that is updated whenever a row is created or modified. timestamp is based on the internal clock and does not correspond to real time. There can only be one timestamp variable per table. |
25-
| row | Row type,can be nested. |
9+
| Data type | Description |
10+
|:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
11+
| string | string |
12+
| boolean | boolean |
13+
| tinyint | -128 to 127 regular. 0 to 255 unsigned*. Specify the maximum number of digits in parentheses. |
14+
| smallint | -32768 to 32767 General. 0 to 65535 unsigned*. Specify the maximum number of digits in parentheses. |
15+
| int | All numbers from -2,147,483,648 to 2,147,483,647 are allowed. |
16+
| bigint | All numbers between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 are allowed. |
17+
| float | Float-precision numeric data from -1.79E+308 to 1.79E+308. |
18+
| double | Double precision floating point. Handle most decimals. |
19+
| decimal | DOUBLE type stored as a string, allowing a fixed decimal point. |
20+
| null | null |
21+
| bytes | bytes. |
22+
| date | Only the date is stored. From January 1, 0001 to December 31, 9999. |
23+
| time | Only store time. Accuracy is 100 nanoseconds. |
24+
| timestamp | Stores a unique number that is updated whenever a row is created or modified. timestamp is based on the internal clock and does not correspond to real time. There can only be one timestamp variable per table. |
25+
| row | Row type,can be nested. |
2626
| map | A Map is an object that maps keys to values. The key type includes `int` `string` `boolean` `tinyint` `smallint` `bigint` `float` `double` `decimal` `date` `time` `timestamp` `null` , and the value type includes `int` `string` `boolean` `tinyint` `smallint` `bigint` `float` `double` `decimal` `date` `time` `timestamp` `null` `array` `map`. |
27-
| array | A array is a data type that represents a collection of elements. The element type includes `int` `string` `boolean` `tinyint` `smallint` `bigint` `float` `double` `array` `map`. |
27+
| array | A array is a data type that represents a collection of elements. The element type includes `int` `string` `boolean` `tinyint` `smallint` `bigint` `float` `double` `array` `map`. |
2828

2929
## How to use schema
3030

@@ -61,4 +61,4 @@ source {
6161

6262
## When we should use it or not
6363

64-
If there is a `schema` configuration project in Options,the connector can then customize the schema. Like `Fake` `Pulsar` `Http` source connector etc.
64+
If there is a `schema` configuration project in Options,the connector can then customize the schema. Like `Fake` `Pulsar` `Http` source connector etc.

0 commit comments

Comments
 (0)