Add max_message_len in kafka_consumer input (#2636)

This commit is contained in:
Nick Irvine
2017-04-11 12:05:39 -07:00
committed by Daniel Nelson
parent f55af7d21f
commit 0193cbee51
4 changed files with 43 additions and 11 deletions

View File

@@ -28,6 +28,10 @@ from the same topic in parallel.
## more about them here:
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
data_format = "influx"
## Maximum length of a message to consume, in bytes (default 0/unlimited);
## larger messages are dropped
max_message_len = 65536
```
## Testing