Free Report! Gartner® Hype Cycle™ for Monitoring and Observability.Read more

Kafka OTLP

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration Table

No encoding field for metric events is available because the only option, otlp_proto, is set by default.

ParameterTypeDefaultDescription
telemetry_typestelemetrySelector["Logs", "Metrics", "Traces"]Choose Telemetry Type.
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 and subscribe to for metrics, traces, and logs.
group_idstringotel-collectorConsumer group to consume messages from.
client_idstringotel-collectorThe consumer client ID that the receiver will use.
log_topicstringotlp_logsThe topic name for subscribing to log events.
log_encodingenumotlp_protoThe encoding of the log event pulled from the Kafka topic. otlp_proto, raw, text, or json
metric_topicstringotlp_metricsThe topic name for subscribing to metric events.
trace_topicstringotlp_spansThe topic name for subscribing to trace events.
trace_encodingenumotlp_protoThe encoding of the trace event pulled from the Kafka topic. otlp_proto, jaeger_proto, jaeger_json, zipkin_proto, zipkin_json, or zipkin_thrift
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