Create a RabbitMQ data source

更新时间: 2026-06-17 10:44:19

Create a RabbitMQ data source to enable Dataphin to read business data from or write data to RabbitMQ.

Permission requirements

Only users with the Create Data Source permission or the super administrator, data source administrator, architecture designer, or project administrator role can create data sources.

Procedure

  1. In the top navigation bar of the Dataphin homepage, choose Management Center > Datasource Management.

  2. On the Datasource page, click +Create Data Source.

  3. On the Create Data Source page, select RabbitMQ in the Message Queue section.

    If you recently used RabbitMQ, you can select it from the Recently Used section, or enter keywords in the search box to find it.

  4. On the Create RabbitMQ Data Source page, configure the connection parameters.

    1. Configure the basic information of the data source.

      Parameter

      Description

      Datasource Name

      The name must meet the following requirements:

      • The name can contain only Chinese characters, letters, digits, underscores (_), and hyphens (-).

      • The name can be up to 64 characters in length.

      Datasource Code

      Once configured, you can reference tables in this data source in a Flink_SQL node by using the data source code.table name or data source code.schema.table name format. To automatically access the data source that matches the current environment, use the variable format ${data source code}.table or ${data source code}.schema.table. For more information, see Develop Flink_SQL nodes.

      Important
      • The data source code cannot be modified after it is configured.

      • You can preview data on the object details page in the asset directory and asset checklist only after the data source code is configured.

      • In Flink SQL, only MySQL, Hologres, MaxCompute, Oracle, StarRocks, Hive, SelectDB, and GaussDB data warehouse service (DWS) data sources are currently supported.

      Version

      Only version 3.6.5 is supported.

      Data Source Description

      A brief description of the data source. The description cannot exceed 128 characters.

      Data Source Configuration

      Select the data source configuration mode:

      • If the business data source is divided into production and development data sources, select Production + Development Data Source.

      • If the business data source is not divided into production and development data sources, select Production Data Source.

      Tag

      Tags help you categorize and label data sources. For more information, see Manage data source tags.

    2. Configure the connection parameters.

      If you selected Production + Development data source, configure the connection information for both environments. If you selected Production data source, configure the connection information for the production environment only.

      Note

      We recommend that you configure separate data sources for the production and development environments to achieve environment isolation. However, you can also configure them as the same data source with identical parameter values.

      Parameter

      Description

      Server Address

      The IP address and port number of the RabbitMQ server. Only one server address is supported.

      Username, Password

      The username and password (or credential) used for authentication. Make sure the user has the required data permissions.

      Virtual Host

      The RabbitMQ virtual host. Default value: /.

  5. Click OK to create the RabbitMQ data source.

上一篇: Create a DataHub data source 下一篇: Add relational data sources
阿里云首页 智能数据建设与治理 Dataphin 相关技术圈