<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kentaro Hayashi &lt;hayas****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2017-04-12 18:11:26 +0900 (Wed, 12 Apr 2017)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927">6f007c21e29dca0026c8c641de553cc9a6947927</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li>Merged <a href="https://github.com/groonga/fluent-plugin-groonga/commit/780ee73">780ee73</a>: Merge pull request <a href="https://github.com/groonga/fluent-plugin-groonga/issues/16">#16</a> from groonga/use-v0.14-api-out-groonga</li>
        </ul>
      </dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">out: use compat_parameters helper for v0.14

It keeps compatibility with v0.12 style configuration.

ref. http://docs.fluentd.org/v0.14/articles/plugin-update-from-v12#buffered-output-plugins</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50">lib/fluent/plugin/out_groonga.rb</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/fluent/plugin/out_groonga.rb (+7 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L26">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L29">29</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L32">32</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L72">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L75">75</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L76">76</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50L79">79</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R26">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R29">29</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R33">33</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R73">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R76">76</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R77">77</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R78">78</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R79">79</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R80">80</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R81">81</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R82">82</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R84">84</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/fluent-plugin-groonga/commit/6f007c21e29dca0026c8c641de553cc9a6947927#diff-e11d0ce8ffa370c51a4b9237ffcb8a50R86">86</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -27,6 +27,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Fluent</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   module Plugin</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   class GroongaOutput &lt; Output</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     Plugin.register_output(&quot;groonga&quot;, self)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    helpers :compat_parameters</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     def initialize</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       super</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -73,7 +74,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Fluent</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    config_section :buffer do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      config_set_default :@type, &quot;memory&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      config_set_default :chunk_keys, [&#39;tag&#39;]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     def configure(conf)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+      compat_parameters_convert(conf, :buffer)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       super</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       @client = create_client(@protocol)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       @client.configure(conf)</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>