Child pages
  • Output Cassandra Event Adapter

Versions Compared


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

Output Cassandra event adapter is used to dump output events in a Cassandra database.

Table of Contents


NOTE TO WRITERS: Add the TOC here.

Table of Contents

Configuring output Cassandra event adapter

You can configure the output Cassandra event adapter either using the management console or using a configuration file.

Using the management console
Using the management console
Configure using the management console

Follow the steps below to configure output Cassandra event adapter using the management console. This deploys the event adapter in the <PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory.

  1. Cassandra is not enabled by default in WSO2 products. Therefore, before using Cassandra, start the product in Cassandra-enabled mode using the following command:
    ./ -Ddisable.cassandra.server.startup=false
  2. Log in to product's management console, and click Configure. 
  3. Click Output Event Adaptors in the Event Processor Configs menu, and then click Add Output Event Adaptor.
  4. Enter the details as shown in the below example. 

    create output Cassandra event adapter

  5. Click Add Event Adaptor.  

Using a configuration file
Using a configuration file
Configure using a configuration file

Follow the steps below to configure output Cassandra event adapter using a configuration file.



After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI.  Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.

Configuring output Cassandra event adapter message properties

The configured output event adapters are used in event formatters. With output event adapter message properties, event formatters are able to extract data from event streams and format the output events. Following are the output Cassandra adapter-specific message properties.


The message properties of the output Cassandra event adapter are described below.


Column Family NameName of the Cassandra family to which, you want to input data.
Keyspace NameName of the Cassandra keyspace to which, you want to input data.
Output Event TypeThe incoming event type to be mapped. The Output Cassandra event adapter supports only map type mappings.