Schema registry

Prev Next

Available in VPC

You can integrate schemas from the Topic menu. You can define and manage schemas for message Key or Value in the schema registry.

Configure schema registry

You can change schema registry settings. After you create a schema with either the Key or Value type, you can change its settings. When no schema exists, the [Settings] button is disabled.

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Stream.
  2. Click the Topic menu.
  3. In the topic list, click View service details.
  4. On the topic details interface, click the [Schema registry] tab menu.
  5. Click [Settings].
    • Settings
      • Enabled: You can register a schema only if it is compatible with the previous schema version. After configuring the settings, check compatibility with the previous version (BACKWARD).
      • Disabled: You can register a schema even if it is not compatible with the previous schema version. If incompatible data is imported after configuration, the data may not be processed.
    • Key type compatibility
      • Set whether to enable compatibility checks for message Key.
    • Value type compatibility
      • Set whether to enable compatibility checks for message Value.

View schema registry information

  • Access endpoint: The network address that can be used when integrating with schemas through Kafka Client

Create schema

To configure schema registry:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Stream.
  2. Click the Topic menu.
  3. In the topic list, click View service details.
  4. On the topic details interface, click the [Schema registry] tab menu.
  5. Click [Add].
    • Basic information
      • Type: Select the type of the schema.
        • Key: Create schema for message Key.
        • Value: Create schema for message Value.
      • Data type: Specify how to serialize or deserialize message Key (or Value).
        • Specify how the producer serializes message Key (or Value).
        • Specify how the consumer deserializes the received byte data into a Key (or 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).
  6. Click [Complete].
    • The created schema is displayed in the schema list.

Check schema information

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Stream.
  2. Click the Topic menu.
  3. In the topic list, click View service details.
  4. On the topic details interface, click the [Schema registry] tab menu.
  5. Click the schema ID.
  6. Check the required information.
    • ID: The unique ID of the schema.
    • Version: The history registered within the schema registry.
    • Type: The schema type Key or Value.
    • Data type: How to serialize or deserialize message Key (or Value).
    • Schema: Check the registered schema.

Delete schema

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Big Data & Analytics > Data Stream.
  2. Click the Topic menu.
  3. In the topic list, click View service details.
  4. On the topic details interface, click the [Schema registry] tab menu.
  5. Click the schema version you want to delete.
  6. Click [Delete].
  7. Check the details when the notification popup appears, and then click [Delete].
    • The deleted schema version disappears from the schema list.