Skip to content

Commit

Permalink
tools: update wording (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitinChen authored and lilin90 committed Jul 6, 2018
1 parent 7630f56 commit 6d779b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tidb-binlog-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ cd tidb-binlog-latest-linux-amd64
- Use [binlogctl](https://github.com/pingcap/tidb-tools/tree/master/tidb_binlog/binlogctl) of the [tidb-tools](https://github.com/pingcap/tidb-tools) project to generate the `position` for the initial start of Drainer.
- Do a full backup. For example, back up TiDB using Mydumper.
- Import the full backup to the target system.
- The savepoint file started by the Kafka version of Drainer is stored in the `checkpoint` table of the downstream database `tidb_binlog` by default. If no valid data exists in the `checkpoint` table, configure `initial-commit-ts` to make Drainer work from a specified position when it is started:
- The savepoint metadata started by the Kafka version of Drainer is stored in the `checkpoint` table of the downstream database `tidb_binlog` by default. If no valid data exists in the `checkpoint` table, configure `initial-commit-ts` to make Drainer work from a specified position when it is started:

```
bin/drainer --config=conf/drainer.toml --initial-commit-ts=${position}
Expand Down

0 comments on commit 6d779b6

Please sign in to comment.