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
* feat: upgrade to otel collector v0.102.1
* make modified kafka exporter consistent with original
* update go-grpc-compression pkg to 1.2.3 to fix vulnerability
* fix even more vulnerabilities
Copy file name to clipboardExpand all lines: exporter/kafkaexporter/README.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,18 @@
1
-
**IMPORTANT:** This component is copied from https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.96.0/exporter/kafkaexporter and
1
+
**IMPORTANT:** This component is copied from https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.102.0/exporter/kafkaexporter and
2
2
adapted to accept compression settings and also do span curing on large spans.
Kafka exporter exports logs, metrics, and traces to Kafka. This exporter uses a synchronous producer
@@ -31,6 +27,7 @@ The following settings can be optionally configured:
31
27
-`resolve_canonical_bootstrap_servers_only` (default = false): Whether to resolve then reverse-lookup broker IPs during startup.
32
28
-`client_id` (default = "sarama"): The client ID to configure the Sarama Kafka client with. The client ID will be used for all produce requests.
33
29
-`topic` (default = otlp_spans for traces, otlp_metrics for metrics, otlp_logs for logs): The name of the kafka topic to export to.
30
+
-`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. If `topic_from_attribute` is not set, the message's topic will be set to the value of the configuration option `topic` instead.
34
31
-`encoding` (default = otlp_proto): The encoding of the traces sent to kafka. All available encodings:
35
32
-`otlp_proto`: payload is Protobuf serialized from `ExportTraceServiceRequest` if set as a traces exporter or `ExportMetricsServiceRequest` for metrics or `ExportLogsServiceRequest` for logs.
36
33
-`otlp_json`: payload is JSON serialized from `ExportTraceServiceRequest` if set as a traces exporter or `ExportMetricsServiceRequest` for metrics or `ExportLogsServiceRequest` for logs.
@@ -42,6 +39,7 @@ The following settings can be optionally configured:
42
39
- The following encodings are valid *only* for **logs**.
43
40
-`raw`: if the log record body is a byte array, it is sent as is. Otherwise, it is serialized to JSON. Resource and record attributes are discarded.
44
41
-`partition_traces_by_id` (default = false): configures the exporter to include the trace ID as the message key in trace messages sent to kafka. *Please note:* this setting does not have any effect on Jaeger encoding exporters since Jaeger exporters include trace ID as the message key by default.
42
+
-`partition_metrics_by_resource_attributes` (default = false) configures the exporter to include the hash of sorted resource attributes as the message partitioning key in metric messages sent to kafka.
45
43
-`auth`
46
44
-`plain_text`
47
45
-`username`: The username to use.
@@ -53,7 +51,7 @@ The following settings can be optionally configured:
53
51
-`version` (default = 0): The SASL protocol version to use (0 or 1)
54
52
-`aws_msk.region`: AWS Region in case of AWS_MSK_IAM mechanism
55
53
-`aws_msk.broker_addr`: MSK Broker address in case of AWS_MSK_IAM mechanism
56
-
-`tls`
54
+
-`tls`: see [TLS Configuration Settings](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configtls/README.md) for the full set of available options.
57
55
-`ca_file`: path to the CA cert. For a client this verifies the server certificate. Should
58
56
only be used if `insecure` is set to false.
59
57
-`cert_file`: path to the TLS cert to use for TLS required connections. Should
0 commit comments