JBoss Community Archive (Read Only)

ModeShape 5

Cassandra

Description

A binary store which stores values in a Cassandra cluster.

Configuration

JSON

To use the Cassandra binary store you need to make sure the Cassandra Java Driver is available in the classpath. We recommend using the ModeShape embedded BOM which defines the required version for this artifact

 "storage" : {
        "binaryStorage" : {
            "type"  : "cassandra",
            "address" : "::1",           
        }
    }

JBoss AS

To use the Cassandra binary store you need to make sure the Cassandra Java Driver is installed as a separate module in the Wildfly Server and that ModeShape can access this module. To get the correct version for the artifact, we recommend using the ModeShape AS BOM which defines the required version number.

<repository name="sample">
    <cassandra-binary-storage host="localhost"/>  
  </repository>

Attributes

Name

Required

Configuration

Description

address

yes

JSON

address of the Cassandra cluster

host

yes

JBoss AS

same as address

plus the common attributes described here

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 12:12:56 UTC, last content change 2016-09-07 12:50:31 UTC.