Add table filtering to avrorouter

The filtering is implemented with PCRE2 regular expressions and as such is
not the most user-friendly interface.
This commit is contained in:
Markus Mäkelä
2018-08-31 13:48:55 +03:00
parent 79ba89fba1
commit d7dd636c9a
4 changed files with 73 additions and 4 deletions

View File

@ -66,6 +66,21 @@ _deflate_. These are the mandatory compression algorithms required by the
Avro specification. For more information about the compression types,
refer to the [Avro specification](https://avro.apache.org/docs/current/spec.html#Required+Codecs).
### `match`
Only process events for tables that match this PCRE2 regular expression. See
[Regular Expressions](../Getting-Started/Configuration-Guide.md#regular-expressions)
for more information about regular expressions.
This parameter was added in MaxScale 2.2.14.
### `exclude`
Ignore events for tables that match this PCRE2 regular expression. This can be
combined with the `match` parameter to implement table event filtering.
This parameter was added in MaxScale 2.2.14.
**Note:** Since the 2.1 version of MaxScale, all of the router options can also
be defined as parameters.