Creating a federation connector
Learn how you can create a federation connector that can be used by a Cloudera Lakehouse Engine to query and access data from different data sources.
- Log in to the Cloudera Lakehouse Engine instance.
-
In the Connectors tab, click New
Connector.
The New Connector page is displayed with the available data source.
-
In the Data Source Type page, you can do one of the
following:
-
Browse or use the search box to find your data source.
- Select the type of data source, such as PostgreSQL, MySQL, Snowflake, AWS Redshift, or custom, that you want to configure.
-
Browse or use the search box to find your data source.
- Click Next.
- In the Connector Details page, provide a connector name and description for the connector.
-
In the Configuration section, select the configuration
file.
- (Optional) Click + Add file to add more files.
-
Enter the configuration parameters for your connector using either key-value
pairs or plain text:
Key-value pairs:
- For standard JDBC connectors (such as PostgreSQL, MySQL, or AWS
Redshift), provide these configurations.
- connector. name - Displays the active connector type, such as postgresql, MySQL or Snowflake.
- connection-url - Enter the connection
URL to connect to the required data source. For example,
jdbc:postgresql://example.net:3306/postgres - connection-user - Enter the connection username.
- connection-password - Enter a password for the selected connector.
- For all other connector types or custom connectors, refer to the official Trino Documentation for the required parameters.
Plain text:- Enter or paste your raw configuration text (such as JSON, krb5.conf,
or properties). If you need to add references to registered secrets
or external config files within your text, use the following syntax
inline, replacing the placeholders with your actual names:
secret-env://<secret_env_name>secret-file://<secret_file_name>config-file://<config_file_name>
- For standard JDBC connectors (such as PostgreSQL, MySQL, or AWS
Redshift), provide these configurations.
- (Optional) Click + Add Configuration to add additional key-value pairs as needed.
-
Click Test Connection to verify if the configurations
are correct to establish a successful connection to the data source.
- If the connection is successful, click Connect to Datasource to establish a connection to the data source.
