https://github.com/treasure-data/embulk-input-td
Treasure Data Input Plugin for Embulk
https://github.com/treasure-data/embulk-input-td
Last synced: about 1 year ago
JSON representation
Treasure Data Input Plugin for Embulk
- Host: GitHub
- URL: https://github.com/treasure-data/embulk-input-td
- Owner: treasure-data
- Created: 2016-07-30T05:38:56.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T02:09:00.000Z (about 2 years ago)
- Last Synced: 2025-04-07T11:21:21.743Z (about 1 year ago)
- Language: Java
- Size: 101 KB
- Stars: 8
- Watchers: 7
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Treasure Data Input Plugin for Embulk
**NOTICE**: embulk-input-td v0.2.0+ only supports **Embulk v0.8.22+**.
## Overview
* **Plugin type**: input
* **Resume supported**: no
* **Cleanup supported**: yes
* **Guess supported**: no
## Configuration
- **apikey**: apikey (string, required)
- **endpoint**: hostname (string, default='api.treasuredata.com')
- **http_proxy**: http proxy configuration (tuple of host, port, useSsl, user, and password. default is null)
- **use_ssl**: the flag (boolean, default=true)
- **database**: database name (string, optional)
- **query**: presto query string (string, optional)
- **job_id**: job_id (string, optional)
## Example
```yaml
in:
type: td
apikey: my_apikey
endpoint: api.treasuredata.com
database: my_db
query: |
SELECT * FROM my_table
```
## Build
```
$ ./gradlew gem # -t to watch change of files and rebuild continuously
```