Skip to content

Commit

Permalink
tools: update note and db-type values (#744)
Browse files Browse the repository at this point in the history
* tools: update note and db-type values

Via: pingcap/docs-cn#987

* tools: address comments
  • Loading branch information
lilin90 committed Dec 4, 2018
1 parent 1932c45 commit fb025f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/tidb-binlog-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ It is recommended to deploy TiDB-Binlog using TiDB-Ansible. If you just want to

```toml
# downstream storage, equal to --dest-db-type
# Valid values are "mysql", "pb", "tidb", "flash", and "kafka".
# Valid values are "mysql", "pb", "kafka", "flash", and "tidb".
db-type = "mysql"

# the downstream MySQL protocol database
Expand All @@ -241,7 +241,7 @@ It is recommended to deploy TiDB-Binlog using TiDB-Ansible. If you just want to

```toml
# downstream storage, equal to --dest-db-type
# Valid values are "mysql", "pb", "tidb", "flash", and "kafka".
# Valid values are "mysql", "pb", "kafka", "flash", and "tidb".
db-type = "pb"

# Uncomment this if you want to use `pb` or `sql` as `db-type`.
Expand Down Expand Up @@ -390,7 +390,7 @@ The following part shows how to use Pump and Drainer based on the nodes above.
the directory where the Drainer data is stored ("data.drainer" by default)
-dest-db-type string
the downstream service type of Drainer
The value can be "tidb", "kafka", "pb", and "mysql" ("mysql" by default).
The value can be "mysql", "kafka", "pb", "flash", and "tidb". ("mysql" by default)
-detect-interval int
the interval of checking the online Pump in PD (10 by default, in seconds)
-disable-detect
Expand Down Expand Up @@ -461,7 +461,7 @@ The following part shows how to use Pump and Drainer based on the nodes above.
disable-dispatch = false

# the downstream service type of Drainer ("mysql" by default)
# Valid value: "mysql", "pb"
# Valid value: "mysql", "kafka", "pb", "flash", "tidb"
db-type = "mysql"

# `replicate-do-db` has priority over `replicate-do-table`. When they have the same `db` name,
Expand Down

0 comments on commit fb025f2

Please sign in to comment.