Cassandra
Last updated
Last updated
Cassandra sink connector
Write data to Apache Cassandra.
host
String
Yes
-
keyspace
String
Yes
-
table
String
Yes
-
username
String
No
-
password
String
No
-
datacenter
String
No
datacenter1
consistency_level
String
No
LOCAL_ONE
fields
String
No
LOCAL_ONE
batch_size
int
No
5000
batch_type
String
No
UNLOGGED
async_write
boolean
No
true
Cassandra
cluster address, the format is host:port
, allowing multiple hosts
to be specified. Such as "cassandra1:9042,cassandra2:9042"
.
The Cassandra
keyspace.
The Cassandra
table name.
Cassandra
user username.
Cassandra
user password.
The Cassandra
datacenter, default is datacenter1
.
The Cassandra
write consistency level, default is LOCAL_ONE
.
The data field that needs to be output to Cassandra
, if not configured, it will be automatically adapted according to the sink table schema
.
The Cassandra
batch processing mode, default is UNLOGGER
.
Whether cassandra
writes in asynchronous mode, default is true
.
The number of rows written through each time, default is 5000
.