Oracle GG (Golden Gate) Big Data Setup with Kafka SSL

Step 1 - Copy kafka_ssl content

Copy the contents of the $K2_HOME/.kafka_ssl file on the Kafka node to the local directory in the Oracle GG client.

Step 2 - Update Properties

Update the custom_kafka_producer.properties file by adding the following details at the bottom of the file:

bootstrap.servers=(Kafka_server_IP_Address/_Hostname):9093
acks=1
reconnect.backoff.ms=1000
#
value.serializer = org.apache.kafka.common.serialization.ByteArraySerializer
key.serializer = org.apache.kafka.common.serialization.ByteArraySerializer
#
# 100KB per partition
batch.size = 102400
linger.ms = 10000
#
#TLS Security
security.protocol=SSL
ssl.truststore.location=/home/oracle/kafka.client.truststore.jks
ssl.truststore.password=Q1w2e3r4t5 
ssl.keystore.location=/home/oracle/kafka.client.keystore.jks
ssl.keystore.password=Q1w2e3r4t5
ssl.key.password=Q1w2e3r4t5
ssl.endpoint.identification.algorithm=

Step 3 - Restart Service

  1. Open the Oracle GG Software Command Interface (ggcsi).

  2. Execute the ALTER REPLICAT (replicat_name), BEGIN NOWcommand.

  3. Update the Kafka server.properties file (if not done previously):

sed -i "65issl.endpoint.identification.algorithm=" $CONFLUENT_HOME/server.properties

  1. Restart the Kafka service.

Previous

Oracle GG (Golden Gate) Big Data Setup with Kafka SSL

Step 1 - Copy kafka_ssl content

Copy the contents of the $K2_HOME/.kafka_ssl file on the Kafka node to the local directory in the Oracle GG client.

Step 2 - Update Properties

Update the custom_kafka_producer.properties file by adding the following details at the bottom of the file:

bootstrap.servers=(Kafka_server_IP_Address/_Hostname):9093
acks=1
reconnect.backoff.ms=1000
#
value.serializer = org.apache.kafka.common.serialization.ByteArraySerializer
key.serializer = org.apache.kafka.common.serialization.ByteArraySerializer
#
# 100KB per partition
batch.size = 102400
linger.ms = 10000
#
#TLS Security
security.protocol=SSL
ssl.truststore.location=/home/oracle/kafka.client.truststore.jks
ssl.truststore.password=Q1w2e3r4t5 
ssl.keystore.location=/home/oracle/kafka.client.keystore.jks
ssl.keystore.password=Q1w2e3r4t5
ssl.key.password=Q1w2e3r4t5
ssl.endpoint.identification.algorithm=

Step 3 - Restart Service

  1. Open the Oracle GG Software Command Interface (ggcsi).

  2. Execute the ALTER REPLICAT (replicat_name), BEGIN NOWcommand.

  3. Update the Kafka server.properties file (if not done previously):

sed -i "65issl.endpoint.identification.algorithm=" $CONFLUENT_HOME/server.properties

  1. Restart the Kafka service.

Previous