Complimentary Gartner® Report! 'A CTO's Guide to Open-Source Software: Answering the Top 10 FAQs.'Read more

Kafka Cluster

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration Table

ParameterTypeDefaultDescription
cluster_name*stringFriendly name used for the resource kafka.cluster.name.
protocol_versionenum"2.0.0"The Kafka protocol version to use when communicating with brokers. Valid values are: "2.2.1", "2.2.0", "2.0.0", or "1.0.0".
brokersstringslocalhost:9092List of brokers to scrape for metrics.
client_idstringotel-metrics-receiverThe consumer client ID that the receiver will use.
collection_intervalint60Sets how often (seconds) to scrape for metrics.
enable_authboolfalse
auth_typeenumbasicbasic, sasl, or kerberos
basic_usernamestring
basic_passwordstring
sasl_usernamestring
sasl_passwordstring
sasl_mechanismenumSCRAM-SHA-256SCRAM-SHA-256, SCRAM-SHA-512, or PLAIN
kerberos_service_namestring
kerberos_realmstring
kerberos_config_filestring/etc/krb5.conf
kerberos_auth_typeenumkeytabkeytab or basic
kerberos_keytab_filestring/etc/security/kafka.keytab
kerberos_usernamestring
kerberos_passwordstring
*required field