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