Skip to content

Commit

Permalink
binlog: add new cmd flag (#345)
Browse files Browse the repository at this point in the history
* binlog: add new cmd flag

* Update wording
  • Loading branch information
IANTHEREAL authored and lilin90 committed Mar 12, 2018
1 parent 23a07be commit 64843ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/tidb-binlog-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ This example describes how to use Pump/Drainer.
to configure the file path of Pump; if you specifies the configuration file, Pump reads the configuration first; if the corresponding configuration also exists in the command line argument, Pump uses the command line configuration to cover that in the configuration file
-data-dir string
the path of storing Pump data
-enable-tolerant
after enabling tolerant, Pump wouldn't return error if it fails to write binlog (default true)
-zookeeper-addrs string (-zookeeper_addrs="192.168.0.11:2181,192.168.0.12:2181,192.168.0.13:2181")
the ZooKeeper address; this option gets the Kafka address from ZooKeeper
-gc int
Expand Down Expand Up @@ -408,4 +410,4 @@ When you start Drainer, set the two parameters of `--metrics-addr` and `--metric

3. Click "Upload .json File" to upload a JSON file (Download [TiDB Grafana Config](https://grafana.com/tidb)).

4. Click "Save & Open". A Prometheus dashboard is created.
4. Click "Save & Open". A Prometheus dashboard is created.

0 comments on commit 64843ac

Please sign in to comment.