Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Connectors and Connections
  3. Data Ingestion and Replication connectors
  4. Data Ingestion and Replication connection properties

Connectors and Connections

Connectors and Connections

Use the serverless runtime environment

Use the serverless runtime environment

In
Data Ingestion and Replication
, you can use a serverless runtime environment hosted on Azure to connect to the MySQL database.
Before you configure a MySQL connection using the serverless runtime environment, perform the following tasks:
  • Add the JDBC driver JAR files in the Azure container in your Azure account.
  • Configure the .yml serverless configuration file.
Add the JDBC driver as a JAR file in the Azure container in your Azure account
Perform the following steps:
  1. Create the following structure for the serverless agent configuration in Azure:
    <Supplementary file location>/serverless_agent_config/
  2. Add the JDBC driver files in the Azure container in the following location in your Azure account:
    <Supplementary file location>/serverless_agent_config/mysql
Configure the .yml serverless configuration file
Perform the following steps to configure the .yml serverless configuration file in the serverless runtime environment:
  1. Copy the following code snippet to a text editor and specify the driver file name:
    version: 1 agent: databaseIngestion: autoDeploy: jdbc: drivers: - fileCopy: sourcePath: mysql/<file_name>.jar
    where the sourcePath is the directory path of the driver files in Azure.
  2. Ensure that the syntax and indentations are valid, and then save the file as
    serverlessUserAgentConfig.yml
    in the following Azure location:
    <Supplementary file location>/serverless_agent_config
    When the .yml file runs, the JDBC driver files are copied from the Azure location to the serverless agent directory.

0 COMMENTS

We’d like to hear from you!