Cassandra
Cassandra source connector
Descriptionâ
Read data from Apache Cassandra.
Key featuresâ
Optionsâ
name | type | required | default value |
---|---|---|---|
host | String | Yes | - |
keyspace | String | Yes | - |
cql | String | Yes | - |
username | String | No | - |
password | String | No | - |
datacenter | String | No | datacenter1 |
consistency_level | String | No | LOCAL_ONE |
host [string]â
Cassandra
cluster address, the format is host:port
, allowing multiple hosts
to be specified. Such as
"cassandra1:9042,cassandra2:9042"
.
keyspace [string]â
The Cassandra
keyspace.
cql [String]â
The query cql used to search data though Cassandra session.
username [string]â
Cassandra
user username.
password [string]â
Cassandra
user password.
datacenter [String]â
The Cassandra
datacenter, default is datacenter1
.
consistency_level [String]â
The Cassandra
write consistency level, default is LOCAL_ONE
.
Examplesâ
source {
Cassandra {
host = "localhost:9042"
username = "cassandra"
password = "cassandra"
datacenter = "datacenter1"
keyspace = "test"
cql = "select * from source_table"
result_table_name = "source_table"
}
}
Changelogâ
next versionâ
- Add Cassandra Source Connector