Cassandra output event adapter is used to dump events having map format to a Cassandra database.
Cassandra output event adapter requires following adopter configurations;
Adapter Property | Possible Values | Default | Description |
---|---|---|---|
Hosts | localhost | Hostnames or ipaddresses separated by comma e.g., testhost1,testhost2 | |
Port | 9160 | The cassandra port, if not defined default port will be used | |
User Name | Username for the database | ||
Password | Password for the database | ||
Keyspace Name | CEP_KS | Cassandra key space name | |
Column Family Name | CF_Transactions | Column family namespace under the defined keyspace | |
Strategy Class | The strategy of the keyspace, if not defined 'org.apache.cassandra.locator.SimpleStrategy' will be used | ||
Replication Factor | The replication factor of keyspace, if not defined '1' will be used | ||
Indexed Columns | Columns to be indexed, separated by comma e.g., key1,key2. Index of type "KEYS" with name "{keyspaceName}_{columnFamilyName}_{columnKey}_Index" will be applied to the columns |