Connecting to a Redis Data Source
Overview
ROMA Connect can use the Redis database as a data source for data integration tasks or data API creation. Before using the Redis data source, you need to connect it to ROMA Connect.
Prerequisites
Each connected data source must belong to an integration application. Ensure that an integration application is available before connecting a data source, or create one first.
Procedure
- Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
- In the navigation pane on the left, choose Data Sources. In the upper right corner of the page, click Access Data Source.
- On the Default tab page, select Redis and click Next.
- Configure the data source connection information.
Table 1 Data source connection information Parameter
Description
Name
Enter a data source name. Using naming rules facilitates future search.
Encoding Format
Default: utf-8
Integration Application
Select the integration application to which the data source belongs.
Description
Enter a brief description of the data source.
Connection Address
Enter the IP address and port number for connecting Redis. If there are multiple connection addresses, click Add Address to add them.
NOTE:If the Redis data source is a cluster Redis, you need to write the addresses of all nodes. If only one node address is written, ROMA Connect regards the Redis as a single-node Redis. As a result, the cluster Redis fails to be accessed.
Password
Enter the password for connecting to Redis.
Database ID
Enter the ID of the Redis database. If this parameter is not specified, the database numbered 0 is connected by default.
The following figure shows how to configure Redis data source connection.
Figure 1 Redis data source configuration example
- Click Check Connectivity to check the connectivity between ROMA Connect and the data source.
- If the test result is Data source connected successfully, go to the next step.
- If the test result is Failed to connect to the data source, check the data source status and connection parameters, and click Recheck until the connection is successful.
- Click Create.
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