Fluentd output plugin to insert json data to cassandra.
This plugin support complex data type like collection.
$ gem install fluent-plugin-cassandra-json
Add following line to your Gemfile:
gem "fluent-plugin-cassandra-json"
And then execute:
$ bundle
-
See also: Output Plugin Overview
The entire list of cluster members for initial lookup
Cassandra native protocol port
Default value: 9042
.
Cluster username
Cluster password
Other Cluster option parameters
Default value: {}
.
Set consistency level
Available values: any, one, two, three, quorum, all, local_quorum, each_quorum, serial, local_serial, local_one
Default value: one
.
Target keyspace name
Target table name
Use IF NOT EXIST option on INSERT
Use TTL option on INSERT
Specify whether this statement can be retried safely on timeout
Default value: true
.
Specify whether column not defined in the JSON is set to null or is ignored (If false, column not defined in the JSON is set to null. It is cassandra default)
Default value: false
.
Treat request as success, even if invalid rows exist
Default value: true
.
Default value: json
.
- Copyright(c) 2018- joker1007
- License
- Apache License, Version 2.0