[Groonga-commit] groonga/fluent-plugin-groonga at e5afc09 [master] doc: add command_name_position parameter

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Jan 16 10:53:32 JST 2018


Kouhei Sutou	2018-01-16 10:53:32 +0900 (Tue, 16 Jan 2018)

  New Revision: e5afc091d176dc44d8fc2a54d7ad7f796ae3cd45
  https://github.com/groonga/fluent-plugin-groonga/commit/e5afc091d176dc44d8fc2a54d7ad7f796ae3cd45

  Message:
    doc: add command_name_position parameter

  Modified files:
    doc/text/configuration.md

  Modified: doc/text/configuration.md (+19 -0)
===================================================================
--- doc/text/configuration.md    2018-01-16 10:51:41 +0900 (60fdcb4)
+++ doc/text/configuration.md    2018-01-16 10:53:32 +0900 (9db43d3)
@@ -50,6 +50,24 @@ Here are available parameters in `source` directive:
 
     * default: `10041`
 
+  * `command_name_position`: It specifies where Groonga command's
+    name.
+
+    If `tag` is specified, the plugin puts Groonga command's name to
+    tag as `groonga.command.#{COMMAND_NAME}` format and record
+    is the arguments of the command.
+
+    If `record` is specified, the plugin puts both Groonga command's
+    name and arguments to record as `{"name": "#{COMMAND_NAME}",
+    "arguments": {...}}` format. Tag is always `groonga.command`.
+
+    `record` is suitable when you want to implement replication. If
+    you `tag` for replication, Groonga command's order may be changed.
+
+    * Available values: `tag`, `record`
+
+    * default: `tag`
+
   * `emit_commands`: TODO
 
 Here is an example:
@@ -65,6 +83,7 @@ Here is an example:
       port 10041
       real_host 192.168.0.1
       real_port 10041
+      command_name_position record
     </source>
 
 ## The `groonga` output plugin
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180116/83261a5d/attachment.htm 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る