Macrometa source oracle connector for reading from oracle databases.
Project description
macrometa-source-oracle
Macrometa source connector that extracts data from a Oracle database and produces JSON-formatted data following the Singer spec.
How to use it
Install and Run
First, make sure Python 3 is installed on your system or follow these installation instructions for Mac or Ubuntu.
It's recommended to use a virtualenv:
python3 -m venv venv
pip install macrometa-source-oracle
or from source using,
- Install poetry using https://python-poetry.org/docs/#installation
- Run
poetry build pip install dist/macrometa_source_oracle-<version>*.whl
Configuration
Running the the macrometa source connector independently requires a config.json
file.
Example configuration:
{
"host": "dev.oracledb.io",
"port": 1521,
"user": "C##HELLO",
"password": "password",
"service_name": "ORCLCDB",
"filter_schema": "C##HELLO",
"filter_table": "CUSTOMERS",
"replication_method": "LOG_BASED",
"pdb_name": "ORCLPDB1",
"multitenant": true,
"scn_window_size": 10
}
You can run a discover run using the previous config.json
file to acquire all the tables definition
macrometa-source-oracle --config /tmp/config.json --discover >> /tmp/catalog.json
Then use the catalog.json to run a full export:
macrometa-source-oracle --config /tmp/config.json --catalog /tmp/catalog.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for macrometa-source-oracle-0.0.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fff2154e78daf5826b06b3dad74f733425109f922520c165f54550e2153e2294 |
|
MD5 | 3ac89574601dc418cc150a5af2669c79 |
|
BLAKE2b-256 | 3bc043acacc646df6c4efed183bc9ba97f4026648e82caf7538c2e65133aaf52 |
Close
Hashes for macrometa_source_oracle-0.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81f687eae622575e9ebb36faa3a9370a2f3b002e02a74bca15faeefb270d587 |
|
MD5 | 1d1a0e50adf1555a5934bbdab0375b00 |
|
BLAKE2b-256 | ae559bd68e83fb1fafd11b24e67f6b5b7d420569ed742967c958c727ae7eaa9c |