Importing and Exporting Topics
Overview
ROMA Connect allows you to export topics as a file to the local directory or import a local topic file to ROMA Connect for batch migration of topics.
Prerequisites
- Before importing a topic, ensure that the integration application to which the topic belongs has been created. Otherwise, create an integration application first.
- Before importing a topic, check whether a duplicate topic name exists in the instance to which the topic is to be imported. If there are duplicate topic names, the topic will fail to be imported.
- Ensure that the quota of topics meets the requirements before importing the topics.
- If the description of a topic contains a newline character, the newline character is escaped to \n in the exported CSV file of the topic. If you use the CSV file to import a topic, you need to manually modify the topic description on the console after the topic is imported and change the escape character \n back to a newline character.
Importing Topics
- Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
- In the navigation pane on the left, choose Message Queue Service > Topic Management. On the page displayed, click Import.
- In the dialog box displayed, select a local topic file and import it.
- After the import is successful, you can view the imported topics in the topic list.
Exporting Topics
- Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
- In the navigation pane on the left, choose Message Queue Service > Topic Management.
- Export topics.
- Exporting specified topics: Select the topics to be exported and choose More > Export to export a topic file to the local directory.
- Exporting all topics: Click Export All to export a topic file to the local directory.
Last Article: Querying the Message Content
Next Article: Migrating Kafka Services
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.