[TOC]
*****
# **Kafka Source Connector For Oracle**
<br >
## **安装 Oracle Connector**
1. 下载 [kafka-connect-oracle](https://github.com/erdemcer/kafka-connect-oracle) 源代码。
2. 编译源代码。
```
mvn clean package -Dmaven.test.skip=true
mvn dependency:copy-dependencies
```
```
# mkdir -p /usr/local/share/kafka/plugins/erdemcer-kafka-connect-oracle-1.0/
# chown -R lemon:oper /usr/local/share/kafka/
```
```
$ vim config/connect-distributed.properties
plugin.path=/usr/local/share/kafka/plugins/erdemcer-kafka-connect-oracle-1.0
```
[
{
"class": "com.ecer.kafka.connect.oracle.OracleSourceConnector",
"type": "source",
"version": "null"
},
{
"class": "org.apache.kafka.connect.file.FileStreamSinkConnector",
"type": "sink",
"version": "2.3.1"
},
{
"class": "org.apache.kafka.connect.file.FileStreamSourceConnector",
"type": "source",
"version": "2.3.1"
}
]
<br >
## **安装 Oracle JDBC 驱动程序**
<br >