Topic

Prev Next

Available in VPC

This article will explain how to create, view, edit, and delete topics from the Topic menu.

Create topic

Up to 3 topics can be created per account. To create a topic, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream in order.
  2. Click the Topic menu.
  3. Click the [Create topic] button at the top of the screen.
  4. On the create topic screen, enter basic information and set options.
    • Basic information
      • Topic: enter topic name in prefix-name format
        • Prefix: automatically generated as a unique value for each account to prevent duplication
        • Enter within 200 characters including prefix using a combination of English lowercase letters, numbers, and special character '-'
        • This cannot be edited after input upon creation
      • Description: enter a description of the topic within 0 - 500 bytes
    • Option
      • Topic no. of partitions: enter the number of partitions for the topic, from 1 to 16 (default value: 1)
        • It is not possible to reduce the number set at creation, only add to it
      • Message retention period: set retention period for messages saved to the topic
        • Enter within 1 hour - 15 days 00 hours 00 minutes (default value: 1 day)
        • Messages are automatically deleted once the retention period expires (deleted in order of oldest data)
  5. Click the [Create topic] button.
    • The topic created will appear in the topic list and will automatically be set to active status, allowing it to produce and consume messages.
Note

Be aware of the following when creating topics.

  • No. of topic partitions: the more partitions you have, the easier it is to process more data, but you will be charged based on the number. When initially creating a topic, take into account that when editing, the number of partitions can be increased but not decreased, and configure it efficiently.
  • Message retention period: the maximum storage capacity per partition is 200 GB. Whichever comes first between the message retention period and the partition maximum capacity is applied. (Messages are deleted in order of oldest data)

Check topic information

To see a topic's basic information, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream in order.
  2. Click the Topic menu.
  3. In the topic list, click on View service details of the topic you want to check the basic information of.
  4. On the topic details screen, click the [Basic information] tab menu.
  5. Check the required information.
    • Topic: topic name
    • Description: description of topic
    • No. of partitions: Number of topic partitions
    • Message retention period: retention period for messages saved to the topic
    • Access endpoint: Network address available for producer and consumer when connecting to Kafka Client

Edit topic

To edit a topic's description, number of partitions, or message retention period, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream in order.
  2. Click the Topic menu.
  3. In the topic list, click on View service details of the topic you want to edit.
  4. On the topic details screen, click the [Basic information] tab menu.
  5. Click the [Edit] button.
  6. When the Edit topic popup window appears, edit the necessary information.
    • Topic description, number of partitions, message retention period: see Create topic
    • No. of topic partitions: can only be added to
    • Topic name: cannot be edited
  7. Click the [Save] button.

Delete topic

To delete a topic, follow these steps:

Caution

Deleting a topic will delete the connector and all data. Deleted topics cannot be recovered, so consider carefully before proceeding.

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream in order.
  2. Click the Topic menu.
  3. In the topic list, click on View service details of the topic you want to delete.
  4. On the topic details screen, click the [Delete topic] button.
  5. Check the details when the notification popup window appears, and then click the [Delete] button.
    • The deleted topic will disappear from the topic list.