A Ververica Flink compute source hosts the Ververica Flink-based computing resources (measured in CUs and including resource queues) for a Dataphin project. Only projects bound to a Ververica Flink compute source allow you to develop computing tasks based on the Ververica Flink engine. This topic shows you how to create a Ververica Flink compute source.
Prerequisites
-
The current tenant must have Ververica Flink enabled as the real-time computing engine. For more information, see Set real-time compute engine.
-
Only accounts with the super administrator or project administrator role, or a custom role that includes the Create compute source permission, can create a compute source. For more information, see Permissions for Data Warehouse Planning.
Procedure
-
On the Dataphin homepage, in the top navigation bar, choose Plan > Compute source.
-
On the Compute source page, click Add compute source and select Ververica Flink.
-
On the Create Ververica Flink compute source page, configure the following parameters.
Parameter
Description
Computing type
Select Ververica Flink.
Region
If you select System, select a region from the list. If you select Custom, enter a region ID.
Version
Select Enterprise Edition or storage-compute separated edition. The default is Enterprise Edition. Select the version that matches your Ververica Flink deployment.
Access mode
Select VPC or public network.
NoteThis parameter is available only when you select System for Region.
Endpoint
Enter the endpoint for the custom region.
NoteThis parameter is available only when you select Custom for Region.
AccessKey ID and AccessKey Secret
Enter the AccessKey ID and AccessKey Secret of an account that can access the Ververica Flink project.
You can obtain the AccessKey ID and AccessKey Secret on the User information management page.
ImportantTo ensure a successful connection, we recommend using the AccessKey of a Ververica Flink project administrator.
Flink workspace ID
Select a Flink workspace ID.
NoteBefore you select a Flink workspace ID, ensure the preceding parameters are configured correctly. Otherwise, the Flink workspace ID options will be unavailable.
Flink project space
Select a Flink project space.
Compute source name
Enter a name for the compute source. The name must follow these rules:
-
It can contain Chinese characters, letters, digits, underscores (_), and hyphens (-).
-
It must be no more than 64 characters long.
Description
Enter a description for the compute source.
NoteTo create multiple compute sources, click Add compute source again. You can create up to 10 compute sources at a time.
-
-
Click Test connection to verify the connection.
-
After the test succeeds, click Verify and submit. Dataphin validates the connection and creates the compute source.
Next steps
After you create the Ververica Flink compute source, you can bind it to a project. For more information, see Create a General-purpose Project.