PowerExchange for Kafka User Guide for PowerCenter

PowerExchange for Kafka User Guide for PowerCenter

Configuring JVM Options to Import Avro Schema

Configuring JVM Options to Import Avro Schema

If you configure a session to read data from or write data to a Kafka topic in Avro format, you must configure the JVM options for the PowerCenter Client and the PowerCenter Integration Service to enable Avro data format and specify the path of the Hadoop distribution package.

Configuring JVM Options for the PowerCenter Client

You can configure the
ccijvmoptions.ini
file for the PowerCenter Client.
  1. Ensure that you have applied the Informatica EBF-16426 to PowerCenter Client.
  2. Access the
    ccijvmoptions.ini
    file from the following location:
    <PowerCenter Installation Directory>\clients\PowerCenterClient\client\bin
  3. Add the following properties to the
    ccijvmoptions.ini
    file:
    -DENABLE_AVRO_FORMAT_FOR_KAFKA=true -DINFA_HADOOP_DIST_DIR=<Informatica installation directory>\clients\PowerCenterClient\hadoop\CDH_6.3
  4. Restart the PowerCenter Client.

Configuring JVM Options for the PowerCenter Integration Service

You can configure the JVM options for the PowerCenter Integration Service to enable Avro data format and specify the path of the Hadoop distribution package from the Administrator Console.
  1. In the Administrator tool Domain Navigator, select the PowerCenter Integration Service for which you want to set the kerberised Kafka settings.
  2. Click the
    Processes
    tab on the right pane.
  3. Click
    Edit
    in the
    Custom Properties
    section.
  4. Define the following properties and values:
    Property
    Value
    JVMOption2
    -DENABLE_AVRO_FORMAT_FOR_KAFKA=true
    JVMOption3
    -DINFA_HADOOP_DIST_DIR=<Informatica installation directory>\services\shared\hadoop\CDH_6.3
  5. Restart the PowerCenter Integration Service.

0 COMMENTS

We’d like to hear from you!