Overview
With this feature, you can associate a created schema to a specific data access task to verify the format of the accessed data according to the schema.
Directions
Creating a schema
The following describes how to create a linkage with subscribing MySQL data to ES as an example.
2. Select Connector > Schema Management on the left sidebar, select the region, click Create Schema, and enter the schema name.
Schema Name: Enter the schema name. It can only contain letters, digits, underscores, or symbols ("-" and ".").
Description: Enter the optional schema description.
Field Configuration: Add up to 100 fields.
Field Name: Enter the field name.
Type: Eight types are supported, namely, BOOLEAN, INT8, INT16, INT32, INT64, FLOAT32, FLOAT64, and STRING.
allowNull: Verify whether this field exists in the upstream. The value "true" indicates if this field doesn't exist in the upstream, the default value field you specify here will be automatically added instead.
Note:
Detailed description of whether the field configuration is NULL:
true
The upstream field exists and meets the requirements: Write.
The upstream field exists but doesn't meet the requirements: Do not write.
The upstream field doesn't exist: Write the default value.
false
The upstream field exists and meets the requirements: Write.
The upstream field exists but doesn't meet the requirements: Do not write.
The upstream field doesn't exist: Do not write.
Description: Enter the field description.
3. Click OK.
Deleting a schema
On the schema management page, click Delete in the Operation column and click OK in the pop-up window.
Associating a task
After a schema is created, it can be associated with a specific data integration task.
1. On the schema management list page, click the ID of the target schema to enter its basic information page.
2. Select the Associated Task tab at the top of the page, click Associate Task, and select the specific data integration task.
Disassociating a task
1. On the schema management list page, click the ID of the target schema to enter its basic information page.
2. Select the Associated Task tab at the top of the page and click Disassociate in the Operation column of the target associated task.
Note
Once disassociated, the schema no longer applies format verification to the data.
Was this page helpful?