When built-in catalog types cannot meet your business requirements, register a custom catalog type by uploading a JAR file. This topic explains how to register a custom catalog type, create a catalog from it, and manage registered types.
Usage notes
Custom catalog type names must be unique across all custom catalog types in your workspace.
If a custom catalog type shares a name with a built-in catalog, the custom catalog type takes priority.
Deleting a custom catalog type also deletes all catalogs created from that type.
Prerequisites
Before you begin, ensure that you have:
A JAR file for your custom catalog type. For development guidance, see Catalogs in the Apache Flink documentation.
(If using an external URL) An accessible JAR file hosted on an Object Storage Service (OSS) bucket or an external storage system that Realtime Compute for Apache Flink can access.
Register a custom catalog type and create a catalog
Step 1: Go to the Catalog List page
Log on to the Realtime Compute for Apache Flink console.
Find the workspace to manage and click Console in the Actions column.
In the left-side navigation pane, click Catalogs.
Step 2: Register a custom catalog type
On the Catalog List page, click Create Catalog.
In the Create Catalog dialog box, click the Custom Catalog tab, then click Add Catalog Type.
In the Create catalog type dialog box, configure the parameters.

Method Description Upload File Click Click to Select and upload the JAR file for your custom catalog type. Use External URL Enter the URL of a hosted JAR file. Only two URL types are supported: the endpoint of the OSS bucket you specified when purchasing your workspace (viewable in Workspace Details in the management console), or the endpoint of an external storage system that Realtime Compute for Apache Flink can access with public-read access control list (ACL) or explicit access permissions. Click Next.
Review the properties and click OK.

Step 3: Create a catalog
On the Custom Catalog tab, click the name of the catalog type you just registered, then click Next.
Enter the catalog code and parameter values, then click OK. The following example uses a Hologres custom catalog type. Modify the parameters based on your catalog type.
CREATE CATALOG `catalogname` --catalogname indicates the name of the catalog that you create. WITH ( 'type'='hologres-custom', --The catalog type name that you specify in Step 5. 'endpoint' = 'yourEndpoint', --The parameters that are selected in the Required column in Step 5 must be configured in the WITH clause. 'username' = 'yourUsername', 'password' = 'yourPassword', 'dbname' = 'yourDbname' );NoteEnclose the catalog name in grave accents (
`). Without them, catalog names containing periods (.) may cause errors.
View or delete a custom catalog type
On the Catalog List page, click Create Catalog.
In the Create Catalog dialog box, click the Custom Catalog tab.
View: Hover over a catalog type name to see its JAR file path, catalog type, creation time, and creator.
Delete: Click the
icon next to the catalog type name, then click Confirm.
Next steps
To explore built-in catalog types supported by Realtime Compute for Apache Flink, see Manage catalogs.
To learn about available connectors, see Supported connectors.