Add a custom catalog when you have a Flink catalog factory that is not one of the
built-in types. You supply the factory and the properties that it needs.
Ensure that the catalog factory is available to the engine, and that you know the
properties that it requires. To make a catalog factory available, upload its JAR file as a
connector with the connector upload feature.
-
In the Streaming SQL Console, click Projects in the left
navigation pane, and click the name of your project.
The project opens, with the Explorer panel on the left.
To open the Streaming SQL Console, see Accessing Cloudera SQL Stream Builder.
-
In the Explorer, open the menu of
Catalog under Data Sources, and click
New Catalog.
-
In Catalog Type, select Custom.
-
In Name, enter a name for the catalog.
-
Under Custom Properties, add the properties of the
catalog.
For each one, enter a Property Key and a Property
Value. Include the property that identifies the catalog factory.
- Optional:
Optional: Set the Database Filter
and Table Filter.
-
Click Validate, and then click
Create.
After Cloudera SQL Stream Builder (SSB) validates the catalog, the tables of the catalog are available in your
jobs.