Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Cassandra event receiver publisher dumps events in the map format to a Cassandra database.

Table of Contents
maxLevel3

Creating a

...

Cassandra event

...

publisher

For instructions on creating a Cassandra event receiverpublisher, see Publishing Events/wiki/spaces/TESB/pages/32604392.  

Configuring adapter properties

Specify the Static Adapter Properties, when creating a Cassandra event receiver event publisher using the management console as shown below.

...

You can also define the respective adapter properties of the event publisher based on the transport type within the <to> element of the event publisher configuration in the <CEP<PRODUCT_HOME>/repository/deployment/server/eventpublishers/ directory as follows.

...

Adapter Property
Description
Configuration file propertyExample
Hosts

Hostnames or IP addresses separated by commas

hosts
testhost1,testhost2
PortThe Cassandra port. If you do not define this, the default port will be used
port
9160
User NameUsername for the database
user.name
admin
PasswordPassword for the database
password
admin
Keyspace NameCassandra keyspace name
key.space.name
CEP_KS
Column Family Name Column family namespace under the defined keyspace
column.family.name
CF_Transactions
Strategy ClassThe strategy of the keyspace. If you do not define this, org.apache.cassandra.locator.SimpleStrategy will be used
strategy.class
SimpleStrategy
Replication FactorThe 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 {keyspaceName}_{columnFamilyName}_{columnKey}_Index will be applied to the columns.

indexed.columns

key1,key2