Kouhei Sutou
null+****@clear*****
Tue Jan 16 10:53:54 JST 2018
Kouhei Sutou 2018-01-16 10:53:54 +0900 (Tue, 16 Jan 2018) New Revision: e7d4e18ba791f96afdad6d7f0c34cf56a2cfd325 https://github.com/groonga/fluent-plugin-groonga/commit/e7d4e18ba791f96afdad6d7f0c34cf56a2cfd325 Message: doc: use "command_name_position record" for replication In this case, we don't need "command_name_position record" configuration because out_forward isn't used. If out_forward is used (undocumented large case), "command_name_position record" is required because out_forward create chunks by tag. It may break command order. Modified files: doc/text/constitution.md Modified: doc/text/constitution.md (+20 -16) =================================================================== --- doc/text/constitution.md 2018-01-16 10:53:32 +0900 (9a34261) +++ doc/text/constitution.md 2018-01-16 10:53:54 +0900 (cc5afd7) @@ -66,19 +66,21 @@ Here is an example configuration file: # For master Groonga server <source> @type groonga - protocol gqtp # Or use the below line + protocol gqtp # Or use the below line # protocol http - bind 127.0.0.1 # For client side Fluentd - # bind 192.168.0.1 # For master Groonga server side Fluentd + bind 127.0.0.1 # For client side Fluentd + # bind 192.168.0.1 # For master Groonga server side Fluentd port 10041 - real_host 192.168.29.1 # IP address of master Groonga server - real_port 10041 # Port number of master Groonga server - # real_port 20041 # Use different port number - # for master Groonga server side Fluentd + real_host 192.168.29.1 # IP address of master Groonga server + real_port 10041 # Port number of master Groonga server + # real_port 20041 # Use different port number + # for master Groonga server side Fluentd + + command_name_position record # To keep command order </source> # For slave Groonga server - <match groonga.command.*> + <match groonga.command.**> @type groonga protocol gqtp # Or use the below line # protocol http # You can use different protocol for @@ -194,19 +196,21 @@ Here is an example configuration file: # For master Groonga server <source> @type groonga - protocol gqtp # Or use the below line + protocol gqtp # Or use the below line # protocol http - bind 127.0.0.1 # For client side Fluentd - # bind 192.168.0.1 # For master Groonga server side Fluentd + bind 127.0.0.1 # For client side Fluentd + # bind 192.168.0.1 # For master Groonga server side Fluentd port 10041 - real_host 192.168.29.1 # IP address of master Groonga server - real_port 10041 # Port number of master Groonga server - # real_port 20041 # Use different port number - # for master Groonga server side fluentd + real_host 192.168.29.1 # IP address of master Groonga server + real_port 10041 # Port number of master Groonga server + # real_port 20041 # Use different port number + # for master Groonga server side fluentd + + command_name_position record # To keep command order </source> # For slave Groonga servers - <match groonga.command.*> + <match groonga.command.**> @type copy # The first slave Groonga server -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180116/7b08790a/attachment-0001.htm