From 573faff9879c983a5061f48853ee3624a27e8d41 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Tue, 29 Nov 2016 14:41:59 +0200 Subject: [PATCH] Add module command documentation for avrorouter The documentation lists the one command it implements. --- .../Release-Notes/MaxScale-2.1.0-Release-Notes.md | 3 +++ Documentation/Routers/Avrorouter.md | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md b/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md index 6d77070ed..00db1d6cd 100644 --- a/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md +++ b/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md @@ -120,6 +120,9 @@ is the name of the function. _ARGS_ is a function specific list of arguments. Read [Module Commands](../Reference/Module-Commands.md) documentation for more details. +In the 2.1 release of MaxScale, the [_dbfwfilter_}(../Filters/Database-Firewall-Filter.md) +and [_avrorouter_](../Routers/Avrorouter.md) implement module commands. + ### Amazon RDS Aurora monitor The new [Aurora Monitor](../Monitors/Aurora-Monitor.md) module allows monitoring diff --git a/Documentation/Routers/Avrorouter.md b/Documentation/Routers/Avrorouter.md index f9e376ab7..6894c654d 100644 --- a/Documentation/Routers/Avrorouter.md +++ b/Documentation/Routers/Avrorouter.md @@ -142,6 +142,18 @@ data block. The default value is 1 transaction. Controls the number of row events that are grouped into a single Avro data block. The default value is 1000 row events. +## Module commands + +Read [Module Commands](../Reference/Module-Commands.md) documentation for details about module commands. + +The avrorouter supports the following module commands. + +### `avrorouter::convert SERVICE {start | stop}` + +Start or stop the binary log to Avro conversion. The first parameter is the name +of the service to stop and the second parameter tells whether to start the +conversion process or to stop it. + # Files Created by the Avrorouter The avrorouter creates two files in the location pointed by _avrodir_: