Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ ROMA Connect/ User Guide (ME-Abu Dhabi Region)/ Getting Started/ Using ROMA Connect for Data Integration

Using ROMA Connect for Data Integration

Updated on 2024-07-10 GMT+08:00

Overview

ROMA Connect supports access of multiple types of data sources and uses data integration tasks to integrate data from source to destination. Both homogeneous and heterogeneous data can be integrated.

This chapter provides an example for configuring data integration from API to MQS to help you get familiar with the data integration process.

The steps for integrating data with ROMA Connect are as follows:

Step 1: Prepare Data Sources

Before using ROMA Connect to integrate data, you need to prepare one API data source and one MQS data source as the source and destination, respectively.

  1. Create a function API.

    Create a function API on the current ROMA Connect instance as API data source at the source. For details, see Preparing a Backend Service.

    For simplicity, the function API does not require request authentication or carry request parameters. When the function API is called, the message "ROMA TEST!" is always returned.

    After the function API is created, record the request URL and method of the API.

  2. Create a message topic.

    Create a message topic on the current ROMA Connect instance as the topic of the MQS data source at the destination. For details, see Creating a Message Topic.

    After the topic is created, record the topic name. On the Application Integrations page of the ROMA Connect console, click the name of the integration application to which the topic belongs to view and obtain the key and secret.

Step 2: Connect to Data Sources

Before creating a data integration task, separately connect the API and MQS data sources to ROMA Connect to ensure that data can be read from the source and written to the destination.

  1. Create an integration application.
    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 on the left, choose Integration Applications. In the upper right corner of the page, click Create Integration Application.
    3. In the dialog box displayed, set Name and click OK.
  2. Connect to the API data source.
    1. In the navigation pane on the left, choose Data Sources. In the upper right corner of the page, click Access Data Source.
    2. On the Default tab page, select API and click Next.
    3. Enter the configuration information about the API data source.
      Table 1 API data source configuration

      Parameter

      Description

      Name

      Enter an API data source name. It is recommended that you enter a name based on naming rules to facilitate search.

      Integration Application

      Select the integration application created in 1.

      Description

      Enter a brief description of the API data source.

      Address

      Enter the API request URL recorded in Step 1: Prepare Data Sources.

      Request Method

      Select the API request method recorded in Step 1: Prepare Data Sources.

      Authentication Mode

      Select None, indicating that no authentication is required for the API data source.

    4. After setting the parameters for the API data source, click Check Connectivity to test the data source connection.
      • If the test result is Data source connected successfully, click Create.
      • If the test result is Failed to connect to the data source, check and modify the connection parameters, and click Recheck until the connection is successful.
    5. Click Create.
  3. Connect to the MQS data source.
    1. On the Data Sources page, click Access Data Source in the upper right corner.
    2. On the Default tab page, select MQS and click Next.
    3. Enter the configuration information about the MQS data source.
      Table 2 MQS data source configuration

      Parameter

      Description

      Name

      Enter an MQS data source name. It is recommended that you enter a name based on naming rules to facilitate search.

      Integration Application

      Select the integration application created in 1.

      Description

      Enter a brief description of the MQS data source.

      Connection Address

      Select the MQS intranet address of the current ROMA Connect instance. You can view the MQS intranet address on the Instance Information page of the ROMA Connect console.

      Enable SSL

      Set this parameter to Yes if MQS SASL_SSL is enabled and Intra-VPC Plaintext Access is disabled for the ROMA Connect instance. In other cases, set this parameter to No.

      SSL Username/Application Key

      This parameter is mandatory only if Enable SSL is set to Yes.

      Set this parameter to the key recorded in Step 1: Prepare Data Sources.

      SSL Password/Application Secret

      This parameter is mandatory only if Enable SSL is set to Yes.

      Set this parameter to the secret recorded in Step 1: Prepare Data Sources.

    4. After setting the parameters for the MQS data source, click Check Connectivity to test the data source connection.
      • If the test result is Data source connected successfully, click Create.
      • If the test result is Failed to connect to the data source, check and modify the connection parameters, and click Recheck until the connection is successful.
    5. Click Create.

Step 3: Create a Data Integration Task

After configuring the API and MQS data sources, create a data integration task from the source to the destination.

  1. In the navigation pane on the left, choose Fast Data Integration > Task Management and click Create Common Task.
  2. On the Create Task page, set the parameters of the data integration task.
    1. Configure basic information about the task.
      Table 3 Basic task information

      Parameter

      Description

      Task Name

      Enter a task name. It is recommended that you enter a name based on naming rules to facilitate search.

      Description

      Enter a brief description of the task.

      Integration Mode

      Select Scheduled as the mode used for data integration. When API is used as the data source at the source, only scheduled tasks are supported.

      Tag

      Add a tag to classify tasks for quick search. You do not need to set this parameter.

    2. Configure a schedule for the task.

      For simplicity, retain the default settings for the task schedule.

    3. Configure the API data source at the source.
      Figure 1 Configuring source information
      Table 4 Configuration information at the source

      Parameter

      Description

      Instance

      Select the ROMA Connect instance that is being used.

      Integration Application

      Select the integration application created in Step 2: Connect to Data Sources.

      Source Data Type

      Select API.

      Data Source Name

      Select the API data source that you configured in Step 2: Connect to Data Sources.

      Paging

      You do not need to enable this option.

      Incremental Migration

      You do not need to enable this option.

      Request Parameters

      The API data source does not have request parameters. Therefore, you do not need to set this parameter.

      Parse

      Set this parameter to No.

    4. Configure the MQS data source at the destination.
      Figure 2 Configuring destination information
      Table 5 Configuration information at the destination

      Parameter

      Description

      Instance

      Select the ROMA Connect instance that is being used.

      Integration Application

      Select the integration application created in Step 2: Connect to Data Sources.

      Data Source Type

      Select MQS.

      Data Source Name

      Select the MQS data source that you configured in Step 2: Connect to Data Sources.

      Topic Name

      Select the topic recorded in Step 1: Prepare Data Sources.

      Key

      You do not need to set this parameter.

    5. Retain the default settings for Post-Integration Operation.
  3. Click Create, and then click Back to Task List. The created data integration task is displayed in the task list.

Step 4: Start the Data Integration Task

After a data integration task is created, Task Status will be displayed as Stopped.

You can start the task by using either of the following methods:

  • Creating schedule: The task is periodically executed according to the schedule created during task creation.

    Select the task you want to start, click Start above the task list to start the task schedule, and wait until the task is executed as scheduled.

  • Manual scheduling: The task is manually executed only once. Before manually executing a task, ensure that Task Status is Stopped.

    Click Start Scheduling on the right of the data integration task you want to start. When Running Status of the task is displayed as Successful, the task is successfully executed.

To execute the data integration task immediately and view the task result, select the manual scheduling method to integrate data from the API data source to the MQS data source.

Step 5: View the Data Integration Result

  1. In the navigation pane on the left, choose Message Queue Service > Message Query.
  2. Click Advanced Search to expand advanced search options.
  3. Enter the search criteria and click Search to query the messages sent by the client.
    • Select the message topic created in Step 1: Prepare Data Sources for Topic Name.
    • Select Creation time for Search By and select the time segment for the client to send messages to ROMA Connect.
  4. Click Message Body next to the message record and check whether the message content is the same as the response message of the API.
    Figure 3 Viewing messages

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback