Skip to content

Commit

Permalink
Fix default tidb-drainer config (#793)
Browse files Browse the repository at this point in the history
* Fix default tidb-drainer config to be compatible with the latest drainer config format

* Disable payload compression by default
  • Loading branch information
sokada1221 authored and aylei committed Aug 22, 2019
1 parent bbcc367 commit d2d1c75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/tidb-drainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ initialCommitTs: 0

# Refer to https://github.com/pingcap/tidb-binlog/blob/master/cmd/drainer/drainer.toml
config: |
detect-interval = 10
compressor = ""
[syncer]
worker-count = 16
detect-interval = 10
disable-dispatch = false
ignore-schemas = "INFORMATION_SCHEMA,PERFORMANCE_SCHEMA,mysql"
safe-mode = false
txn-batch = 20
db-type = "pb"
db-type = "file"
[syncer.to]
dir = "/data/pb"
compression = "gzip"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit d2d1c75

Please sign in to comment.