"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[206],{31122:e=>{e.exports='# Read metrics from Kafka topics\n[[inputs.kafka_consumer]]\n  ## Kafka brokers.\n  brokers = ["localhost:9092"]\n\n  ## Topics to consume.\n  topics = ["telegraf"]\n\n  ## When set this tag will be added to all metrics with the topic as the value.\n  # topic_tag = ""\n\n  ## Optional Client id\n  # client_id = "Telegraf"\n\n  ## Set the minimal supported Kafka version.  Setting this enables the use of new\n  ## Kafka features and APIs.  Must be 0.10.2.0 or greater.\n  ##   ex: version = "1.1.0"\n  # version = ""\n\n  ## Optional TLS Config\n  # tls_ca = "/etc/telegraf/ca.pem"\n  # tls_cert = "/etc/telegraf/cert.pem"\n  # tls_key = "/etc/telegraf/key.pem"\n  ## Use TLS but skip chain & host verification\n  # insecure_skip_verify = false\n\n  ## SASL authentication credentials.  These settings should typically be used\n  ## with TLS encryption enabled\n  # sasl_username = "kafka"\n  # sasl_password = "secret"\n\n  ## Optional SASL:\n  ## one of: OAUTHBEARER, PLAIN, SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI\n  ## (defaults to PLAIN)\n  # sasl_mechanism = ""\n\n  ## used if sasl_mechanism is GSSAPI (experimental)\n  # sasl_gssapi_service_name = ""\n  # ## One of: KRB5_USER_AUTH and KRB5_KEYTAB_AUTH\n  # sasl_gssapi_auth_type = "KRB5_USER_AUTH"\n  # sasl_gssapi_kerberos_config_path = "/"\n  # sasl_gssapi_realm = "realm"\n  # sasl_gssapi_key_tab_path = ""\n  # sasl_gssapi_disable_pafxfast = false\n\n  ## used if sasl_mechanism is OAUTHBEARER (experimental)\n  # sasl_access_token = ""\n\n  ## SASL protocol version.  When connecting to Azure EventHub set to 0.\n  # sasl_version = 1\n\n  # Disable Kafka metadata full fetch\n  # metadata_full = false\n\n  ## Name of the consumer group.\n  # consumer_group = "telegraf_metrics_consumers"\n\n  ## Compression codec represents the various compression codecs recognized by\n  ## Kafka in messages.\n  ##  0 : None\n  ##  1 : Gzip\n  ##  2 : Snappy\n  ##  3 : LZ4\n  ##  4 : ZSTD\n  # compression_codec = 0\n  ## Initial offset position; one of "oldest" or "newest".\n  # offset = "oldest"\n\n  ## Consumer group partition assignment strategy; one of "range", "roundrobin" or "sticky".\n  # balance_strategy = "range"\n\n  ## Maximum length of a message to consume, in bytes (default 0/unlimited);\n  ## larger messages are dropped\n  max_message_len = 1000000\n\n  ## Maximum messages to read from the broker that have not been written by an\n  ## output.  For best throughput set based on the number of metrics within\n  ## each message and the size of the output\'s metric_batch_size.\n  ##\n  ## For example, if each message from the queue contains 10 metrics and the\n  ## output metric_batch_size is 1000, setting this to 100 will ensure that a\n  ## full batch is collected and the write is triggered immediately without\n  ## waiting until the next flush_interval.\n  # max_undelivered_messages = 1000\n\n  ## Maximum amount of time the consumer should take to process messages. If\n  ## the debug log prints messages from sarama about \'abandoning subscription\n  ## to [topic] because consuming was taking too long\', increase this value to\n  ## longer than the time taken by the output plugin(s).\n  ##\n  ## Note that the effective timeout could be between \'max_processing_time\' and\n  ## \'2 * max_processing_time\'.\n  # max_processing_time = "100ms"\n\n  ## Data format to consume.\n  ## Each data format has its own unique set of configuration options, read\n  ## more about them here:\n  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md\n  data_format = "influx"\n'}}]);