To generate configuration proper for the telgraf version you are running use the config generation:
docker run -it telegraf:1.3 telegraf -sample-config -input-filter kafka_consumer -output-filter influxdb
We have changed to a new version of kafka consumer on master. The documentation for the older version is here. I think if you update your config accordingly then you will not run into any problems.
I always suggest that folks generate their config from the binary rather than looking online. Its faster and far less error prone.
Thanks. It looks like it doesn’t support latest Kafka without Zookeeper, correct?
# SERVICE INPUT PLUGINS #
###############################################################################
# Read metrics from Kafka topic(s)
[[inputs.kafka_consumer]]
## topic(s) to consume
topics = ["telegraf"]
## an array of Zookeeper connection strings
zookeeper_peers = ["localhost:2181"]
## Zookeeper Chroot
zookeeper_chroot = ""
## the name of the consumer group
consumer_group = "telegraf_metrics_consumers"
## Offset (must be either "oldest" or "newest")
offset = "oldest"
## Data format to consume.
## Each data format has its own unique set of configuration options, read
## 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
@Steven_1 We are going to hold off a bit longer on 1.4 since many of the features we wanted are not ready yet. I’ll keep the milestone updated with the tentative date but of course it is always subject to change.