Use snake case in kafka output config
This commit is contained in:
parent
61513c64b8
commit
34614582a7
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue