Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zaneli/embulk-output-couchbase
Couchbase output plugins for Embulk
https://github.com/zaneli/embulk-output-couchbase
Last synced: 28 days ago
JSON representation
Couchbase output plugins for Embulk
- Host: GitHub
- URL: https://github.com/zaneli/embulk-output-couchbase
- Owner: zaneli
- License: mit
- Created: 2015-12-06T07:57:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-08T08:19:31.000Z (about 9 years ago)
- Last Synced: 2023-03-31T03:57:20.315Z (almost 2 years ago)
- Language: Scala
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Couchbase output plugin for Embulk
[![Build Status](https://api.travis-ci.org/zaneli/embulk-output-couchbase.png?branch=master)](https://travis-ci.org/zaneli/embulk-output-couchbase)
## Overview
* **Plugin type**: output
* **Load all or nothing**: no
* **Resume supported**: no
* **Cleanup supported**: no## Configuration
- **host**: Couchbase Server host. If not provided, connect to localhost. (string, optional)
- **bucket**: bucket name. If not provided, open the default bucket. (string, optional)
- **password**: bucket password. If not provided, open the bucket without password. (string, optional)
- **id_column**: column name to be used as id. (string, required)
- **id_format**: id value format. It must contains `{id}` placeholder. If not provided, using only id column value itself. (string, optional)
- **write_mode**: `insert` or `upsert`. (string, default: `insert`)## Example
```yaml
out:
type: couchbase
host: 192.168.111.22
bucket: embulk_bucket
id_column: id
id_format: embulk_{id}
write_mode: upsert
```## Build
```
$ ./gradlew gem # -t to watch change of files and rebuild continuously
```## Test
Start Couchbase Server on the localhost and prepare 'embulk_spec' bucket without password,
or modify src/test/resources/env.conf file for adjust your environment.```
$ ./gradlew test
```