Configuring Kafka Recycling Policies
If recycling is enabled, deleted instances and their data are retained in Recycle Bin, and can be recovered during the retention period. Once the retention period expires, instances in Recycle Bin will be deleted permanently.
Recycling is disabled by default.
Recycle Bin is available only in the CN North-Beijing4, CN East-Shanghai1, and CN South-Guangzhou regions.
Constraints
- Pay-per-use instance in Recycle Bin will not generate fees, but their storage will.
- Yearly/Monthly instances will be moved to Recycle Bin upon unsubscription. After that, they will not generate fees, but their storage will.
- Yearly/Monthly instances will be changed to pay-per-use ones upon successful recovery.
- Removing or unsubscribing instances in the grace or retention period deletes them permanently.
Enabling Recycling
- Log in to the console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
- In the navigation pane, choose Recycle Bin.
- Click Modify Recycling Policy and the Modify Recycling Policy dialog box is displayed.
- Enable Recycle Bin, specify Retention Days, and click OK.
- Deleted instances can be retained for 1 to 7 days.
- Changes to the retention period apply only to instances deleted after the changes.
Recovering Kafka Instances
- Log in to the console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
- In the navigation pane, choose Recycle Bin.
- Recover Kafka instances using either of the following methods:
- Select one or more Kafka instances and click Recover in the upper left corner.
- In the row containing the desired Kafka instance, click Recover.
- In the displayed Recover Instance dialog box, click OK.
It takes 3 to 10 minutes to recover an instance. You can view recovered instances on the DMS for Kafka page.
Yearly/Monthly instances will be changed to pay-per-use ones upon successful recovery.
Modifying Retention Days
- Log in to the console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
- In the navigation pane, choose Recycle Bin.
- Click Modify Recycling Policy and the Modify Recycling Policy dialog box is displayed.
- Modify Retention Days and click OK.
- Deleted instances can be retained for 1 to 7 days.
- Changes to the retention period apply only to instances deleted after the changes.
Exporting Instances in the Recycle Bin
- Log in to the console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
- In the navigation pane, choose Recycle Bin.
- Export the instance list using either of the following methods:
- Select the desired instances and choose Export > Export selected data to an XLSX file to export specified instances.
- Choose Export > Export all data to an XLSX file to export all instances.
Deleting Instances Permanently
- Log in to the console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
- In the navigation pane, choose Recycle Bin.
- Delete instances using either of the following methods:
- Select one or more Kafka instances and click Delete in the upper left corner.
- In the row containing the Kafka instance to be deleted, click Delete.
- In the displayed Delete Instance dialog box, enter DELETE and click OK.
Deleting a Kafka instance in the recycle bin will delete the data in the instance without any backup. Exercise caution when performing this operation.
Disabling Recycling
- Log in to the console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
- In the navigation pane, choose Recycle Bin.
- Click Modify Recycling Policy and the Modify Recycling Policy dialog box is displayed.
- Disable Recycle Bin and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot