Cassandra output event adapter event receiver dumps events in the map format to a Cassandra database.
Table of Contents | ||
---|---|---|
|
Creating a Cassandra
...
event
...
receiver
For instructions on creating a Cassandra output event adapterreceiver, see Publishing Events.
Configuring adapter properties
Specify the Static Adapter Properties, when creating a Cassandra output event adapter using event receiver using the management console as shown below.
...
Adapter Property | Description | Configuration file property | Example |
---|---|---|---|
Hosts | Hostnames or IP addresses separated by commas | hosts | testhost1,testhost2 |
Port | The Cassandra port. If you do not define this, the default port will be used | port | 9160 |
User Name | Username for the database | user.name | admin |
Password | Password for the database | password | admin |
Keyspace Name | Cassandra keyspace name | key.space.name | CEP_KS |
Column Family Name | Column family namespace under the defined keyspace | column.family.name | CF_Transactions |
Strategy Class | The strategy of the keyspace. If you do not define this, org.apache.cassandra.locator.SimpleStrategy will be used | strategy.class | SimpleStrategy |
Replication Factor | The replication factor of the keyspace. If you do not define this, 1 will be used. | replication.factor | 3 |
Indexed Columns | Columns to be indexed, separated by commas. Index of type "KEYS" with the name | indexed.columns | key1,key2 |