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",
"default_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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19de3bc124df32f7e2c7a23c4cf5629749ca1447a1a6f5aa376bf07cf05bb5b |
|
MD5 | 1b0b0d332ddeb9b4eaf9348779b203a5 |
|
BLAKE2b-256 | 43627f1d5bb51060d4ade73b57dc703a726bb49b98fdce523ef1d67f942b4613 |
Close
Hashes for macrometa_source_oracle-0.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c8ef62b18721ad915b62d847394620c9138aae79c8c3d93515e7db5bd0e356 |
|
MD5 | 2e2f304f1a917fb6e115efef8baac05a |
|
BLAKE2b-256 | 51dca7f551db514f7b6b5d715d7f3b1ac5de5ea17253a9fa2c0ccee71d329db6 |