Latest version: v2.6.2 Compatible with Fusion version: 5.5.1 and later
The JDBC V2 connector fetches rows from any JDBC-compliant relational database and indexes them as documents in Fusion. Each row returned by the SQL SELECT statements entered in Fusion becomes a document in the content collection, enabling the querying of relational data.

Prerequisites

Perform these prerequisites to ensure the connector can reliably access, crawl, and index your data. Proper setup helps avoid configuration or permission errors, so use the following guidelines to keep your content available for discovery and search in Fusion. Before creating your datasource, ensure Fusion can load your JDBC driver. These steps let the connector pull in the driver automatically at runtime. Fusion UI:
  1. Navigate to System > Blobs.
  2. Click Add > JDBC Driver.
  3. Choose your JAR file and click Upload.
API: In the following steps, replace ID with the name of your JAR file.
  1. PUT your driver JAR file to /api/blobs/ID?resourceType=driver:jdbc.
  2. Verify with GET /api/blobs/ID/manifest.
See the Blob Store API for additional guidance on sending these requests.

Authentication

Setting up the correct authentication according to your organization’s data governance policies helps keep sensitive data secure while allowing authorized indexing. If authentication is required to access your data, the JDBC V2 connector uses standard database credentials to log in. In your datasource configuration, supply:
  • username using the database account’s username.
  • password using the corresponding password.

Remote connectors

V2 connectors support running remotely in Fusion versions 5.7.1 and later.
Below is an example configuration showing how to specify the file system to index under the connector-plugins entry in your values.yaml file:
additionalVolumes:
- name: fusion-data1-pvc
    persistentVolumeClaim:
    claimName: fusion-data1-pvc
- name: fusion-data2-pvc
    persistentVolumeClaim:
    claimName: fusion-data2-pvc
additionalVolumeMounts:
- name: fusion-data1-pvc
    mountPath: "/connector/data1"
- name: fusion-data2-pvc
    mountPath: "/connector/data2"
You may also need to specify the user that is authorized to access the file system, as in this example:
securityContext:
    fsGroup: 1002100000
    runAsUser: 1002100000

Configuration

When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.