Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluecolor/cargo
cross db data transfer
https://github.com/bluecolor/cargo
java jdbc scala
Last synced: 6 days ago
JSON representation
cross db data transfer
- Host: GitHub
- URL: https://github.com/bluecolor/cargo
- Owner: bluecolor
- Created: 2018-07-10T16:42:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-26T22:21:41.000Z (over 6 years ago)
- Last Synced: 2024-12-16T13:56:21.920Z (2 months ago)
- Topics: java, jdbc, scala
- Language: Scala
- Size: 14 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cargo
- Cross database data transfer tool
## Requirements
- java 1.8^## Build
* `sbt assembly`## Make dist
* `./make-dist.sh` copies the executables to `dist` folder## Installation
* just copy the `dist` folder
* make sure you have `java`## Running
* go to dist folder and run `./cargo -h` for command line options
* You can use `app.cfg` for common options see `app.cfg.template````
usage: cargo
-q,--quiet silent logs
-cf,--config path to configurationfile eg. /home/name/app.cfg or app.cfg
-bs,--batch-size insert batch size
-c,--create create target table
-co,--create-options create table options
-d,--truncate truncate target table
-fs,--fetch-size select fetch size
-h,--help print help
-q,--quiet silent logs
-s,--source-url source jdbc url
-sp,--source-password source connection password
-st,--source-table source table
-su,--source-username source connection username
-t,--target-url target jdbc url
-tp,--target-password target connection password
-tt,--target-table target table
-tx,--target-partition target partition to insert
-tu,--target-username target connection username
-co,--create-options create table options
```