Cassandra Sink
Send data to an Apache Cassandra cluster.
This Kamelet expects JSON Array formatted data. The content of the JSON Array is used as input for the CQL Prepared Statement set in the query parameter.
Metadata
| Property |
Value |
| Type |
sink |
| Group |
Cassandra |
| Namespace |
Nosql |
| Support Level |
Stable |
| Provider |
Apache Software Foundation |
Properties
| Name |
Type |
Required |
Default |
Description |
connectionHost |
string |
✓ |
|
The hostname(s) for the Cassandra server(s). Use a comma to separate multiple hostnames. |
connectionPort |
string |
✓ |
|
The port number(s) of the cassandra server(s). Use a comma to separate multiple port numbers. |
keyspace |
string |
✓ |
|
The keyspace to use. |
username |
string |
|
|
The username for accessing a secured Cassandra cluster. |
password |
string |
|
|
The password for accessing a secured Cassandra cluster. |
consistencyLevel |
string |
|
ANY |
The consistency level to use. |
prepareStatements |
boolean |
|
true |
If true, specifies to use PreparedStatements as the query. If false, specifies to use regular Statements as the query. |
query |
string |
✓ |
|
The query to execute against the Cassandra cluster table. |
extraTypeCodecs |
string |
|
|
To use a specific comma separated list of Extra Type codecs. |
jsonPayload |
boolean |
|
true |
If we want to transform the payload in json or not |
Dependencies
camel:jackson
camel:kamelet
camel:cassandraql
camel:core