Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 126 lines (104 sloc) 3.484 kb
1d5b342 @ticktock Initial Git Repo
authored
1 <Keyspace Name="MessageStore">
2 <!--
3 This is just the Keyspace for qsandra message store.
4 You would need to configure the ReplicaPlacementStrategy,ReplicationFactor,and EndpointSnitch
5 as appropriate for your usecase.
6 -->
7
8
9 <!--
10 row key: Broker(just 1 row per keyspace) {
11 destination-count: long
12 }
13 -->
14 <ColumnFamily Name="Broker" CompareWith="BytesType"/>
15
16
17 <!--
18 row key: destinationName
19 Destinations: {
20 test.topic : {
21 isTopic: true
22 max-store-sequence: long
23 max-broker-sequence: long
24 queue-size: long
25 } ,
26 test.destination : {
27 isTopic: false
28 lastSequence: long
29 max-store-sequence: long
30 max-broker-sequence: long
31 queue-size: long
32 }
33 }
34 -->
35 <ColumnFamily Name="Destinations" CompareWith="BytesType"/>
36
37 <!--
38 row key: destinationName
39 Messages: {
40 test.topic : {
41 storeId : byte[]
42 storeId2 : byte[]
43 },
44 test.destination : {
45 storeId3 : byte[]
46 storeId4 : byte[]
47 }
48 }
49 -->
50 <ColumnFamily Name="Messages" CompareWith="LongType"/>
51
52
53 <!--
54 Same as Messages CF, but values are just a single byte, used to count messages, since
55 cassandra has to load all the columns into memory to count them
56 -->
57 <ColumnFamily Name="StoreIdsInUse" CompareWith="LongType"/>
58
59
60 <!--
61 row key: destinationName
62 MessageIdToStoreId : {
63 test.topic : {
64 producerId->producerSeq : storeId
65 }
66 }
67 -->
68 <ColumnFamily Name="MessageIdToStoreId" CompareWith="UTF8Type"/>
69
70
0fb8c2b @ticktock tweaks for activemq 5.4.0
authored
71
72 <!--
73 row key: producerId
74
75 ProducerSequenceIndex :{
76 producerId:{
77 producerSeq:byte[1]
78 }
79 }
80 -->
81 <ColumnFamily Name="ProducerSequenceIndex" CompareWith="LongType" />
82
83
84
1d5b342 @ticktock Initial Git Repo
authored
85 <!--
86 row key: destinationName
87 Subscriptions : {
88 test.topic : {
89 clientId~~~~subscriptionName :{
90 selector: byte[]
91 lastMessageAck: long
92 subscribedDestination: byte[]
93 }
94 }
95 }
96 -->
97
98 <ColumnFamily Name="Subscriptions" ColumnType="Super"
99 CompareWith="UTF8Type"
100 CompareSubcolumnsWith="UTF8Type"/>
101
102
103 <!--
104 ~ Strategy: Setting this to the class that implements
105 ~ IReplicaPlacementStrategy will change the way the node picker works.
106 ~ Out of the box, Cassandra provides
107 ~ org.apache.cassandra.locator.RackUnawareStrategy and
108 ~ org.apache.cassandra.locator.RackAwareStrategy (place one replica in
109 ~ a different datacenter, and the others on different racks in the same
110 ~ one.)
111 -->
112 <ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
113
114 <!-- Number of replicas of the data -->
115 <ReplicationFactor>1</ReplicationFactor>
116
117 <!--
118 ~ EndPointSnitch: Setting this to the class that implements
119 ~ AbstractEndpointSnitch, which lets Cassandra know enough
120 ~ about your network topology to route requests efficiently.
121 ~ Out of the box, Cassandra provides org.apache.cassandra.locator.EndPointSnitch,
122 ~ and PropertyFileEndPointSnitch is available in contrib/.
123 -->
124 <EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
125
126 </Keyspace>
Something went wrong with that request. Please try again.