PowerExchange for Kafka User Guide for PowerCenter

PowerExchange for Kafka User Guide for PowerCenter

Configuring JVM Options to Access a Kerberised Kafka Cluster (Optional)

Configuring JVM Options to Access a Kerberised Kafka Cluster (Optional)

If you configure a session to read data from or write data to a Kafka topic in a Kerberised Kafka cluster, you must configure the JVM Options for the PowerCenter Client and the PowerCenter Integration Service to specify the path of the
krb5.conf
and
kafka_client_jaas.conf
file.

Configuring JVM Options for the PowerCenter Client

You can configure the
ccijvmoptions.ini
file for the PowerCenter Client.
  1. Ensure that you have the
    krb5.conf
    and
    kafka_client_jaas.conf
    file for the Kerberised Kafka cluster.
  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:
    -Djava.security.auth.login.config=complete path and name of the kafka_client_jaas.conf -Djava.security.krb5.conf=complete path and name of the krb5.conf
  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 specify the path of the
krb5.conf
and
kafka_client_jaas.conf
file from the Administrator Console.
  1. Ensure that you have the
    krb5.conf
    and
    kafka_client_jaas.conf
    file for the Kerberised Kafka cluster.
  2. In the Administrator tool Domain Navigator, select the PowerCenter Integration Service for which you want to set the kerberised Kafka settings.
  3. Click the
    Processes
    tab on the right pane.
  4. Click
    Edit
    in the
    Custom Properties
    section.
  5. Define the following properties and values:
    Property
    Value
    JVMOption4
    -Djava.security.auth.login.config=<complete path and name of the kafka_client_jaas.conf file>
    JVMOption5
    -Djava.security.krb5.conf=<complete path and name of the krb5.conf file>
    For example,
    JVMOption4=-Djava.security.auth.login.config=/etc/kafka/kafka_client_jaas.conf JVMOption5=-Djava.security.krb5.conf=/etc/kafka/krb5.conf
  6. Restart the PowerCenter Integration Service.

0 COMMENTS

We’d like to hear from you!