Showing posts with label Kafka. Show all posts
Showing posts with label Kafka. Show all posts

Jul 28, 2017

Configure Goldengate to Replicate data to Kafka

In this article we would configure Oracle GoldenGate for Big Data Kafka Handler to replicate change capture data from a Oracle GoldenGate trail to a Kafka topic. We would use 2 different servers, hosing multiple applications. Please find below details:-

Host      : fangorn.oradba.com
Database  : Oracle 11gR2
GG        : Oracle GoldenGate (12.2.0.1.0) 


Host      : hyd01db001.oradba.com
Zookeeper : zookeeper-3.4.10
Kafka     : Kafka 2.11-0.11
GG        : Oracle GoldenGate for Big Data (12.2.0.1.0)


Note: Throughout the entire installation and configuration, my OS user is "oracle" on both servers, unless mentioned.

Update host entries on both server:-

[oracle@fangorn ~]$ sudo su - 
[root@fangorn ~]# vi /etc/hosts
172.3.21.102   hyd01db001.oradba.com    hyd01db001
172.3.21.32    fangorn.oradba.com       fangorn


Then copy the same /etc/hosts file on hyd01db001 server as well

[root@fangorn ~]# scp /etc/hosts root@172.3.21.102:/etc/