tencent cloud

Feedback

Schema Management

Last updated: 2024-01-09 14:54:11

    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.
    1. Log in to the CKafka console.
    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.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support