Permalink
Browse files

Fix problems in example config.

  • Loading branch information...
1 parent 01e7df3 commit 90e07b0285bb3acc1c73fda32730cbb0f6cf5b98 @jkreps jkreps committed Jun 22, 2009
@@ -0,0 +1,21 @@
+# The ID of *this* particular cluster node
+node.id=0
+
+max.threads=100
+
+############### DB options ######################
+
+http.enable=true
+socket.enable=true
+jmx.enable=true
+
+# BDB
+bdb.sync.transactions=false
+bdb.cache.size=100MB
+
+# Mysql
+mysql.host=localhost
+mysql.port=1521
+mysql.user=root
+mysql.password=3306
+mysql.database=test
@@ -9,12 +9,10 @@
<required-reads>2</required-reads>
<required-writes>2</required-writes>
<key-serializer>
- <type>json</type>
- <schema-info>"int32"</schema-info>
+ <type>string</type>
</key-serializer>
<value-serializer>
- <type>json</type>
- <schema-info>{"a":"int32"}</schema-info>
+ <type>string</type>
</value-serializer>
<retention-days>1</retention-days>
</store>
@@ -0,0 +1,19 @@
+<stores>
+ <!-- Note that "test" store requires 2 reads and writes,
+ so to use this store you must have both nodes started and running -->
+ <store>
+ <name>test</name>
+ <persistence>pausable</persistence>
+ <routing>client</routing>
+ <replication-factor>2</replication-factor>
+ <required-reads>2</required-reads>
+ <required-writes>2</required-writes>
+ <key-serializer>
+ <type>string</type>
+ </key-serializer>
+ <value-serializer>
+ <type>string</type>
+ </value-serializer>
+ <retention-days>1</retention-days>
+ </store>
+</stores>
Binary file not shown.
No changes.
@@ -7,4 +7,4 @@ max.threads=100
http.enable=true
socket.enable=true
-node.id=0
+node.id=1
@@ -0,0 +1,10 @@
+# The size of the in-memory cache used by bdb
+bdb.sync.transactions=false
+bdb.cache.size=100MB
+
+max.threads=100
+
+http.enable=true
+socket.enable=true
+
+node.id=0
@@ -1,20 +1,19 @@
<stores>
- <!-- Note that "test" store requires 2 reads and writes,
- so to use this store you must have both nodes started and running -->
- <store>
- <name>test</name>
- <persistence>bdb</persistence>
- <routing>client</routing>
- <replication-factor>2</replication-factor>
- <required-reads>2</required-reads>
- <required-writes>2</required-writes>
- <key-serializer>
- <type>string</type>
- <schema-info>UTF-8</schema-info>
- </key-serializer>
- <value-serializer>
- <type>string</type>
- <schema-info>UTF-8</schema-info>
- </value-serializer>
- </store>
+ <!-- Note that "test" store requires 2 reads and writes,
+ so to use this store you must have both nodes started and running -->
+ <store>
+ <name>test</name>
+ <persistence>bdb</persistence>
+ <routing>client</routing>
+ <replication-factor>2</replication-factor>
+ <required-reads>2</required-reads>
+ <required-writes>2</required-writes>
+ <key-serializer>
+ <type>string</type>
+ </key-serializer>
+ <value-serializer>
+ <type>string</type>
+ </value-serializer>
+ <retention-days>1</retention-days>
+ </store>
</stores>
@@ -0,0 +1,20 @@
+<stores>
+ <!-- Note that "test" store requires 2 reads and writes,
+ so to use this store you must have both nodes started and running -->
+ <store>
+ <name>test</name>
+ <persistence>pausable</persistence>
+ <routing>client</routing>
+ <replication-factor>2</replication-factor>
+ <required-reads>2</required-reads>
+ <required-writes>2</required-writes>
+ <key-serializer>
+ <type>string</type>
+ <schema-info>UTF-8</schema-info>
+ </key-serializer>
+ <value-serializer>
+ <type>string</type>
+ <schema-info>UTF-8</schema-info>
+ </value-serializer>
+ </store>
+</stores>
Binary file not shown.
No changes.

0 comments on commit 90e07b0

Please sign in to comment.