Table of Contents

Search

  1. Preface
  2. PowerExchange CDC Publisher Overview
  3. Installing and Upgrading PowerExchange CDC Publisher
  4. PowerExchange CDC Publisher Key Concepts
  5. PowerExchange Change Capture Environment
  6. Target Messaging Systems
  7. Configuring PowerExchange CDC Publisher
  8. Streaming Change Data
  9. Monitoring PowerExchange CDC Publisher
  10. Administering PowerExchange CDC Publisher
  11. Command Reference for the Command-Line Utilities
  12. Avro Schema Formats
  13. Message Reference

User Guide

User Guide

Configuring Environment Variables

Configuring Environment Variables

After you install PowerExchange CDC Publisher, verify that the required environment variables are correctly set.
The following table summarizes the environment variable settings for a CDC Publisher environment:
Environment Variable
Setting
JAVA_HOME
The path to the base directory for your 64-bit JRE installation on the PowerExchange CDC Publisher system, for example:
C:\Program Files\java\jre1.8.0_144
.
KAFKA_CLIENT_LIBS
For an Apache Kafka target, enter the path to the local Kafka client libs directory on the PowerExchange CDC Publisher system. This directory contains the Kafka .jar files. For example:
C:\kafka_2.11-0.11.0.0\libs
.
If you use Confluent Schema Registry in the Kafka target environment and want the CDC Publisher messages to be validated against the registered Avro schema, ensure that the Kafka client libs directory also contains the contents from the following Confluent directories:
/confluent-
v.r.m
/share/java/confluent-common
and
/confluent-
v.r.m
/share/java/kafka-serde-tools
.
For a MapR Streams target, enter the path to the MapR lib directory that contains both the MapR client libraries and MapR Kafka client libraries. For example:
C:\opt\mapr\lib
.
If the CDC Publisher runs on the MapR server, this path points to the local MapR lib directory that contains both client libraries. If the CDC Publisher runs on a host that is remote from the MapR server, the local MapR lib directory contains the MapR client libraries but not the MapR Kafka client libraries. In this case, you must copy the kafka-clients-
version
-mapr-
nnnn
.jar file from the MapR server to the local MapR lib directory.
MAPR_HOME
The path to the MapR server or to the client installation on the local machine. For example:
C:\opt\mapr
.
PWX_CONFIG
The path and file name of the PowerExchange DBMOVER configuration file on the system where the PowerExchange CDC Publisher runs.
PWX_LICENSE
The path and file name of the PowerExchange license key file that enables use of the PowerExchange CDC Publisher option for the Kafka or MapR target messaging system.
You can change the path and file name of the license key file that is delivered with the PowerExchange CDC Publisher, provided that you specify the new path and file name in this environment variable.
PWXPUB_HOME
The path to the PowerExchange CDC Publisher root installation directory, for example:
C:\pwxcdcpub100_win_x64
.
Define this environment variable if you plan to run the PowerExchange CDC Publisher utility scripts by using batch files instead of running the scripts directly from the
pwxcdcpub_root_installation
\bin
subdirectory. In each batch file, you can reference %PWXPUB_HOME% instead of the full path to the root installation directory.

0 COMMENTS

We’d like to hear from you!