Hi List,
As a developer configuring Debezium connectors, it is not obvious to me that the regular expressions used in the include and exclude lists (e.g.
table.exclude.list) are anchored. The only way to figure that out was to look into the
implementation and google for the
details.
If I were to take over an existing configuration that contains say database.exclude.list=^foo$, and I wanted to exclude all databases that start with "bar_", I would add something like ^bar_ to the list, which wouldn't work as expected, because the regular expression is anchored. The ^ and $ anchors in the existing configuration are allowed and are syntactically correct but are redundant and misleading.
The current documentation on connector configuration (I looked at the MySQL connector) doesn't mention anything about the regular expressions being anchored, nor it provides any examples which might help figure this out.
Besides the documentation, how else could the user experience in this regard be improved?
Thanks.