...
To point to the Cassandra node/cluster, you need to edit the default datasource configuration defined as shown below in the bam-datasources.xml
file.
Info |
---|
Replace the |
Code Block | ||
---|---|---|
| ||
<datasource> <name>WSO2BAM_CASSANDRA_DATASOURCE</name> <description>The datasource used for Cassandra data</description> <definition type="CASSANDRA"> <configuration> <hosts>localhost</hosts> <port>9160</port> <username>admin</username> <password>admin</password> <keySpace>EVENT_KS</keySpace> <externalCassandra>false</externalCassandra> <replicationFactor>1</replicationFactor> <strategyClass>org.apache.cassandra.locator.SimpleStrategy</strategyClass> <readConsistencyLevel>QUORUM</readConsistencyLevel> <writeConsistencyLevel>QUORUM</writeConsistencyLevel> <gcGraceInterval>864000</gcGraceInterval> </configuration> </definition> </datasource>The datasource configuration options are as follows: |
...