You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exporter/kafkaexporter/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The following settings can be optionally configured:
29
29
-`resolve_canonical_bootstrap_servers_only` (default = false): Whether to resolve then reverse-lookup broker IPs during startup.
30
30
-`client_id` (default = "sarama"): The client ID to configure the Sarama Kafka client with. The client ID will be used for all produce requests.
31
31
-`topic` (default = otlp_spans for traces, otlp_metrics for metrics, otlp_logs for logs): The name of the kafka topic to export to.
32
-
-`topic_from_attribute`: Specify the attribute name when you want to dynamically obtain the topic name from an attribute. Within the same transmission unit, if there are multiple values for the same attribute, use the first value that can be obtained.
32
+
-`topic_from_attribute` (default = ""): Specify the resource attribute whose value should be used as the message's topic. This option, when set, will take precedence over the default topic.
33
33
-`encoding` (default = otlp_proto): The encoding of the traces sent to kafka. All available encodings:
34
34
-`otlp_proto`: payload is Protobuf serialized from `ExportTraceServiceRequest` if set as a traces exporter or `ExportMetricsServiceRequest` for metrics or `ExportLogsServiceRequest` for logs.
35
35
-`otlp_json`: payload is JSON serialized from `ExportTraceServiceRequest` if set as a traces exporter or `ExportMetricsServiceRequest` for metrics or `ExportLogsServiceRequest` for logs.
0 commit comments