Cassandra event publisher dumps events in the map format to a Cassandra database.
Creating a Cassandra event publisher
Configuring adapter properties
Specify the Static Adapter Properties, when creating a Cassandra event publisher using the management console as shown below.
After entering the above adapter properties, select the Message Format which you want to apply on the published events. Also, click Advanced to define custom output mappings based on the Message Format you selected. For more information on custom output mapping types, see Output Mapping Types.
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
<PRODUCT_HOME>/repository/deployment/server/eventpublishers/ directory as follows.
The above adapter properties are described below.
|Configuration file property||Example|
Hostnames or IP addresses separated by commas
|Port||The Cassandra port. If you do not define this, the default port will be used|
|User Name||Username for the database|
|Password||Password for the database|
|Keyspace Name||Cassandra keyspace name|
|Column Family Name||Column family namespace under the defined keyspace|
|Strategy Class||The strategy of the keyspace. If you do not define this, |
|Replication Factor||The replication factor of the keyspace. If you do not define this, 1 will be used.|
Columns to be indexed, separated by commas. Index of type "KEYS" with the name
For more information on
cassandra event publisher type, see the following sample.