Kafka OTLP

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration Table

ParameterTypeDefaultDescription
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 connect to when sending metrics, traces and logs.
group_idstringotel-collectorConsumer group to consuming messages from.
client_idstringotel-collectorThe consumer client ID that the receiver will use.
enable_metricsbooltrue
metric_topicstringotlp_metricsThe name of the topic to export metrics to.
enable_logsbooltrue
log_topicstringotlp_logsThe name of the topic to export logs to.
enable_tracesbooltrue
trace_topicstringotlp_spansThe name of the topic to export traces to.
enable_authboolfalse
auth_typeenumbasicbasic, sasl, or kerberos
basic_usernamestring
basic_passwordstring
sasl_usernamestring
sasl_passwordenum
sasl_mechanismstringSCRAM-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