Linux
✓
Windows
macOS
cluster_name*
string
Friendly name used for the resource kafka.cluster.name.
protocol_version
enum
"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".
"2.2.1"
"2.2.0"
"1.0.0"
brokers
strings
localhost:9092
List of brokers to scrape for metrics.
client_id
otel-metrics-receiver
The consumer client ID that the receiver will use.
collection_interval
int
60
Sets how often (seconds) to scrape for metrics.
enable_auth
bool
false
auth_type
basic
basic, sasl, or kerberos
sasl
kerberos
basic_username
basic_password
sasl_username
sasl_password
sasl_mechanism
SCRAM-SHA-256
SCRAM-SHA-256, SCRAM-SHA-512, or PLAIN
SCRAM-SHA-512
PLAIN
kerberos_service_name
kerberos_realm
kerberos_config_file
/etc/krb5.conf
kerberos_auth_type
keytab
keytab or basic
kerberos_keytab_file
/etc/security/kafka.keytab
kerberos_username
kerberos_password
*required field
Last updated 6 months ago
Was this helpful?