未验证 提交 235be00e 编写于 作者: H He Wang 提交者: GitHub

update doc about fnmatch (#53)

上级 9196de78
......@@ -58,7 +58,7 @@ To connect to LogProxy, there are some parameters to set in `ObReaderConfig`:
- *cluster_username*: Username for OceanBase, the format is `username@tenant_name#cluster_name` when connecting to [obproxy](https://github.com/oceanbase/obproxy) or `username@tenant_name` when directly connecting to OceanBase server.
- *cluster_password*: Password for OceanBase when using configured `cluster_username`.
- *first_start_timestamp*: Start timestamp in seconds, and zero means starting from now. Default is `0`.
- *tb_white_list*: Table whitelist in format `tenant_name.database_name.table_name`, `*` indicates any value, and multiple values can be separated by `|`. Default is `*.*.*`.
- *tb_white_list*: Table whitelist in format `tenant_name.database_name.table_name`. Pattern matching is provided by `fnmatch`, and multiple values can be separated by `|`. Default is `*.*.*`.
- *tb_black_list*: Table blacklist in the same format with whitelist. Default is `|`.
- *timezone*: Timezone offset from UTC. Default value is `+8:00`.
- *working_mode*: Working mode. Can be `storage` (default value, supported from `obcdc` 3.1.3) or `memory`.
......
......@@ -205,8 +205,9 @@ public class ObReaderConfig extends AbstractConnectionConfig {
}
/**
* Set table whitelist. It is composed of three dimensions: tenant, library, and table. Asterisk
* means any, such as: "A.foo.bar", "B.foo.*", "C.*.*", "*.*.*".
* Set table whitelist. It is composed of three dimensions: tenant, db and table. Pattern
* matching is provided by `fnmatch`, so asterisk means any, for example: "A.foo.bar",
* "B.foo.*", "C.*.*", "*.*.*".
*
* @param tableWhiteList Table whitelist.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册