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
[receiver/kafkareceiver] Add otlp_json support in kafka receiver (#34840)
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->The current
features dont support otlp_json in receivers/kafkareceivers.
Add support for otlp_json which accepts json formated for Otel Collector
kafka receiver
**Link to tracking Issue:** <Issue number if applicable> #33627
**Testing:** <Describe what testing was performed and which tests were
added.>
Added test files for the same.
**Documentation:** <Describe the documentation added.>
---------
Signed-off-by: joeyyy09 <[email protected]>
Co-authored-by: Ziqi Zhao <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Copy file name to clipboardExpand all lines: receiver/kafkareceiver/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ The following settings can be optionally configured:
31
31
Only one telemetry type may be used for a given topic.
32
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
+
-`otlp_json`: the payload is deserialized to `ExportTraceServiceRequest``ExportLogsServiceRequest` or `ExportMetricsServiceRequest` respectively using JSON encoding.
34
35
-`jaeger_proto`: the payload is deserialized to a single Jaeger proto `Span`.
35
36
-`jaeger_json`: the payload is deserialized to a single Jaeger JSON Span using `jsonpb`.
36
37
-`zipkin_proto`: the payload is deserialized into a list of Zipkin proto spans.
0 commit comments