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:
- In the VPC environment of the NAVER Cloud Platform console, navigate to Menu > Services > Big Data & Analytics > Data Stream.
- Click the Topic menu.
- Click [Create topic] at the top of the interface.
- On the create topic interface, 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 200 characters
- Topic: Enter topic name in prefix-name format
- Option
- Number of topic partitions: Enter the number of partitions for the topic within the range of 1 to 16 (default: 1)
- It is not possible to reduce the number set at creation, only add to it
- Message retention period: Set the retention period for messages stored in the topic
- Enter a value within the range of 1 hour to 15 days 00 hours 00 minutes (default: 1 day)
- Messages are automatically deleted once the retention period expires (deleted in order of oldest data)
- Number of topic partitions: Enter the number of partitions for the topic within the range of 1 to 16 (default: 1)
- Basic information
- Click [Create topic].
- 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.
- Number of topic partitions: A higher number of partitions enables more efficient processing of larger data volumes, but charges apply based on the number of partitions. 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:
- 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 on View service details of the topic you want to check the basic information of.
- On the topic detailed interface, click the [Basic information] tab menu.
- Check the required information.
- Topic: Topic name
- Description: Description of topic
- Number of partitions Number of partitions for the topic
- Message retention period: Retention period for messages stored in the topic
- Access endpoint: Network address available when the producer and consumer connect to the Kafka client.
Edit topic
To edit a topic's description, number of partitions, or message retention period:
- 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 on View service details of the topic you want to edit.
- On the topic detailed interface, click the [Basic information] tab menu.
- Click [Edit].
- When the Edit topic popup appears, edit the necessary information.
- Topic description, number of partitions, and message retention period: Refer to Create topic
- Number of topic partitions: Only addition is allowed
- Topic name: Editing is not allowed
- Click [Save].
Delete topic
To delete a topic:
Caution
Deleting a topic will delete the connector and all data. Deleted topics cannot be recovered, so consider carefully before proceeding.
- 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 on View service details of the topic you want to delete.
- On the topic detailed interface, click [Delete topic].
- Check the details when the notification popup appears, and then click [Delete].
- The deleted topic will disappear from the topic list.
to copy