forcing line breaks
This commit is contained in:
parent
399dd2aaef
commit
bc5f7feedd
@ -28,15 +28,15 @@ Installing cassandra-sessions
|
|||||||
|
|
||||||
3. Add settings describing where to connect to Cassandra:
|
3. Add settings describing where to connect to Cassandra:
|
||||||
|
|
||||||
`CASSANDRA_POOL = ('127.0.0.1:9160',)
|
`CASSANDRA_POOL = ('127.0.0.1:9160',)
|
||||||
CASSANDRA_SESSION_KEYSPACE = 'Testing'`
|
CASSANDRA_SESSION_KEYSPACE = 'Testing'`
|
||||||
|
|
||||||
|
|
||||||
4. Create the Keyspace and Column Family in Cassandra:
|
4. Create the Keyspace and Column Family in Cassandra:
|
||||||
|
|
||||||
`<Keyspace Name="Testing">
|
`<Keyspace Name="Testing">
|
||||||
<ColumnFamily Name="Sessions" CompareWith="UTF8Type"/>
|
<ColumnFamily Name="Sessions" CompareWith="UTF8Type"/>
|
||||||
<ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
|
<ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
|
||||||
<ReplicationFactor>1</ReplicationFactor>
|
<ReplicationFactor>1</ReplicationFactor>
|
||||||
<EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
|
<EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
|
||||||
</Keyspace>`
|
</Keyspace>`
|
Reference in New Issue
Block a user