[Groonga-commit] droonga/fluent-plugin-droonga at 517a96f [master] Add sample configuration for cluster architecture

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 16 10:37:42 JST 2013


Kouhei Sutou	2013-10-16 10:37:42 +0900 (Wed, 16 Oct 2013)

  New Revision: 517a96f338e16547091230ecfc28a6f3fc57b4e3
  https://github.com/droonga/fluent-plugin-droonga/commit/517a96f338e16547091230ecfc28a6f3fc57b4e3

  Message:
    Add sample configuration for cluster architecture

  Added files:
    sample/cluster/catalog.json
    sample/cluster/fluentd.conf

  Added: sample/cluster/catalog.json (+43 -0) 100644
===================================================================
--- /dev/null
+++ sample/cluster/catalog.json    2013-10-16 10:37:42 +0900 (9fb4e81)
@@ -0,0 +1,43 @@
+{
+  "effective_date": "2013-09-01T00:00:00Z",
+  "zones": ["localhost:23003/droonga"],
+  "farms": {
+    "localhost:23003/droonga": {
+      "device": ".",
+      "capacity": 10
+    }
+  },
+  "datasets": {
+    "Droonga": {
+      "workers": 2,
+      "plugins": ["search", "groonga", "add"],
+      "number_of_replicas": 2,
+      "number_of_partitions": 2,
+      "partition_key": "_key",
+      "date_range": "infinity",
+      "ring": {
+        "localhost:23041": {
+          "weight": 50,
+          "partitions": {
+            "2013-09-01": [
+              "localhost:23003/droonga.000",
+              "localhost:23003/droonga.001"
+            ]
+          }
+        },
+        "localhost:23042": {
+          "weight": 50,
+          "partitions": {
+            "2013-09-01": [
+              "localhost:23003/droonga.002",
+              "localhost:23003/droonga.003"
+            ]
+          }
+        }
+      }
+    }
+  },
+  "options": {
+    "plugins": ["select"]
+  }
+}

  Added: sample/cluster/fluentd.conf (+12 -0) 100644
===================================================================
--- /dev/null
+++ sample/cluster/fluentd.conf    2013-10-16 10:37:42 +0900 (e2ac82b)
@@ -0,0 +1,12 @@
+<source>
+  type forward
+  port 23003
+</source>
+<match droonga.message>
+  name localhost:23003/droonga
+  type droonga
+  proxy true
+</match>
+<match output.message>
+  type stdout
+</match>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index