Available in VPC
You can integrate schemas from the Topic menu. You can define and manage the schema for the message value in the schema registry.
Schema registry setting
You can change schema registry settings. You can change the settings after creating the schema. When no schema exists, [Settings] button is disabled.
- In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream.
- Click the Topic menu.
- In the topic list, click View service details.
- On the topic details interface, click the [Schema registry] tab menu.
- Click [Settings].
- Settings
- Active: You can register a schema only if it is compatible with the previous schema version. After configuration, checks compatibility with the previous version (BACKWARD).
- Inactive: You can register a schema even if it is not compatible with the previous schema version. If incompatible data is imported after setting, the data may not be processed.
- Compatibility: Set whether to enable compatibility checks for message Value.
- Settings
View schema registry information
You can view the schema registry information.
- Access endpoint: The network address that can be used when integrating with schemas through Kafka Client
Create schema
To create a schema:
- In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream.
- Click the Topic menu.
- In the topic list, click View service details.
- On the topic details interface, click the [Schema registry] tab menu.
- Click [Add].
- Enter basic information.
- Basic information
- Data type: Specify the method for serializing or deserializing the message value.
- Specify the method the producer uses to serialize the message value.
- Specify the method the consumer uses to deserialize the received byte data back into a value object.
- You can use AVRO, JSON, and PROTOBUF.
- Schema: Enter the schema to register. Enter within 1 MB.
- Compatibility validation: Check the compatibility between the schema you entered and the previous version of the schema (BACKWARD).
- Data type: Specify the method for serializing or deserializing the message value.
- Basic information
- Click [Complete].
The created schema is displayed in the schema list.
Check schema information
To see a schema's information:
- In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream.
- Click the Topic menu.
- In the topic list, click View service details.
- On the topic details interface, click the [Schema registry] tab menu.
- Click the schema ID.
- Check the required information.
- ID: The unique ID of the schema.
- Version: The history registered within the schema registry.
- Data type: Method for serializing or deserializing the message value.
- Schema: Check the registered schema.
Delete schema
To delete a schema:
- In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream.
- Click the Topic menu.
- In the topic list, click View service details.
- On the topic details interface, click the [Schema registry] tab menu.
- Select the schema version you want to delete.
- Click [Delete].
- Check the details when the notification popup appears, and then click [Delete].
The deleted schema version disappears from the schema list.