Use snake case in kafka output config

This commit is contained in:
Daniel Nelson 2018-08-15 14:12:22 -07:00
parent 61513c64b8
commit 34614582a7
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 4 additions and 3 deletions

View File

@ -38,7 +38,7 @@ type (
// MaxRetry Tag
MaxRetry int
// Max Message Bytes
MaxMessageBytes int
MaxMessageBytes int `toml:"max_message_bytes"`
Version string `toml:"version"`
@ -142,8 +142,9 @@ var sampleConfig = `
## until the next flush.
# max_retry = 3
## Max message bytes, should be lower than server message.max.bytes config
# MaxMessageBytes = 0
## The maximum permitted size of a message. Should be set equal to or
## smaller than the broker's 'message.max.bytes'.
# max_message_bytes = 1000000
## Optional TLS Config
# tls_ca = "/etc/telegraf/ca.pem"