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
**Description:** Add support for encoding extensions in the
kafkareceiver
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.-->
To be able to use encoding extensions this PR adds extension support and
proposes to rename the existing `encoding` configuration property to
`format` and reusing the `encoding` property for configuring encoding
extensions. Reason is to be consistent with other receivers/exporters
like the `fileexporter` that already support extensions.
**Link to tracking Issue:** n/a
**Testing:** Tested with the existing avro_log_encoding extension as
well with receivers internal json encoding.
**Documentation:**: Updated README.md within the receiver describing the
use of encoding extensions.
Copy file name to clipboardExpand all lines: receiver/kafkareceiver/README.md
+1-1Lines changed: 1 addition & 1 deletion
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
-`topic` (default = otlp_spans for traces, otlp_metrics for metrics, otlp_logs for logs): The name of the kafka topic to read from.
31
31
Only one telemetry type may be used for a given topic.
32
-
-`encoding` (default = otlp_proto): The encoding of the payload received from kafka. Available encodings:
32
+
-`encoding` (default = otlp_proto): The encoding of the payload received from kafka. Supports encoding extensions. Tries to load an encoding extension and falls back to internal encodings if no extension was loaded. Available internal encodings:
33
33
-`otlp_proto`: the payload is deserialized to `ExportTraceServiceRequest`, `ExportLogsServiceRequest` or `ExportMetricsServiceRequest` respectively.
34
34
-`jaeger_proto`: the payload is deserialized to a single Jaeger proto `Span`.
35
35
-`jaeger_json`: the payload is deserialized to a single Jaeger JSON Span using `jsonpb`.
0 commit comments