Sha256: 9adb0cc72e6805e459622a476c123b1a171cb69017f7aaf528f9aee411675b31

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 KB

Contents

# fluent-plugin-cassandra-json

[Fluentd](https://fluentd.org/) output plugin to insert json data to cassandra.

This plugin support complex data type like collection.

## Installation

### RubyGems

```
$ gem install fluent-plugin-cassandra-json
```

### Bundler

Add following line to your Gemfile:

```ruby
gem "fluent-plugin-cassandra-json"
```

And then execute:

```
$ bundle
```

## Plugin helpers

* [inject](https://docs.fluentd.org/v1.0/articles/api-plugin-helper-inject)
* [formatter](https://docs.fluentd.org/v1.0/articles/api-plugin-helper-formatter)

* See also: [Output Plugin Overview](https://docs.fluentd.org/v1.0/articles/output-plugin-overview)

## Configuration

### hosts (array) (required)

The entire list of cluster members for initial lookup

### port (integer) (optional)

Cassandra native protocol port

Default value: `9042`.

### username (string) (optional)

Cluster username

### password (string) (optional)

Cluster password

### cluster_options (hash) (optional)

Other Cluster option parameters

Default value: `{}`.

### consistency (enum) (optional)

Set consistency level

Available values: any, one, two, three, quorum, all, local_quorum, each_quorum, serial, local_serial, local_one

Default value: `one`.

### keyspace (string) (required)

Target keyspace name

### table (string) (required)

Target table name

### if_not_exists (bool) (optional)

Use IF NOT EXIST option on INSERT

### ttl (integer) (optional)

Use TTL option on INSERT

### skip_invalid_rows (bool) (optional)

Treat request as success, even if invalid rows exist

Default value: `true`.


### \<format\> section (optional) (multiple)

#### @type () (optional)

Default value: `json`.


## Copyright

* Copyright(c) 2018- joker1007
* License
  * Apache License, Version 2.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-cassandra-json-0.1.2 README.md
fluent-plugin-cassandra-json-0.1.1 README.md
fluent-plugin-cassandra-json-0.1.0 README.md