Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidb-binlog: update kafka-max-message-size configuration #7201

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tidb-binlog/deploy-tidb-binlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,12 @@ The following part shows how to use Pump and Drainer based on the nodes above.
# zookeeper-addrs = "127.0.0.1:2181"
# kafka-addrs = "127.0.0.1:9092"
# kafka-version = "0.8.2.0"
# The maximum number of messages (number of binlogs) in a broker request. If it is left blank or a value smaller than 0 is configured, the default value 1024 is used.
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
# kafka-max-messages = 1024
# The maximum size of a broker request (unit: byte). The default value is 1 GiB and the maximum value is 2 GiB.
# kafka-max-message-size = 1073741824
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

# the topic name of the Kafka cluster that saves the binlog data. The default value is <cluster-id>_obinlog
# the topic name of the Kafka cluster that saves the binlog data. The default value is <cluster-id>_obinlog.
# To run multiple Drainers to replicate data to the same Kafka cluster, you need to set different `topic-name`s for each Drainer.
# topic-name = ""
```
Expand Down
1 change: 1 addition & 0 deletions tidb-binlog/tidb-binlog-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ When the downstream is Kafka, the valid configuration items are as follows:
* `kafka-addrs`
* `kafka-version`
* `kafka-max-messages`
* `kafka-max-message-size`
* `topic-name`

### syncer.to.checkpoint
Expand Down