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.

  1. Log in to the Cloudera Lakehouse Engine instance.
  2. In the Connectors tab, click New Connector.

    The New Connector page is displayed with the available data source.

  3. In the Data Source Type page, you can do one of the following:
    1. Browse or use the search box to find your data source.
    2. Select the type of data source, such as PostgreSQL, MySQL, Snowflake, AWS Redshift, or custom, that you want to configure.
  4. Click Next.
  5. In the Connector Details page, provide a connector name and description for the connector.
  6. In the Configuration section, select the configuration file.

  7. (Optional) Click + Add file to add more files.
  8. 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>
  9. (Optional) Click + Add Configuration to add additional key-value pairs as needed.
  10. Click Test Connection to verify if the configurations are correct to establish a successful connection to the data source.
  11. If the connection is successful, click Connect to Datasource to establish a connection to the data source.