Updated on 2023-07-26 GMT+08:00

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. Therefore, if you import topics using such exported CSV files, manually modify the escape character \n back to a newline character.

Importing Topics

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane, choose Message Queue Service > Topic Management. On the page displayed, click Import.
  3. In the dialog box displayed, select a local topic file and import it.
  4. After the import is successful, you can view the imported topics in the topic list.

Exporting Topics

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane, choose Message Queue Service > Topic Management.
  3. 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.