.. _regexrouter: =========== RegexRouter =========== Description ----------- Update the record's topic using the configured regular expression and replacement string. Under the hood, the regex is compiled to a ``java.util.regex.Pattern``. If the pattern matches the input topic, ``java.util.regex.Matcher#replaceFirst()`` is used with the replacement string to obtain the new topic. Properties ---------- .. list-table:: :header-rows: 1 :widths: 15 30 10 10 10 10 * - Name - Description - Type - Default - Valid Values - Importance * - ``regex`` - Regular expression to use for matching. - string - - valid regex - high * - ``replacement`` - Replacement string. - string - - - high