Skip to content

Commit bc6a7ed

Browse files
committed
introduce streaming
Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> Streaming adoption example for text encoding extension Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: naming consistency Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: remove context from decode calls Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: remove stream buffer option and rely on user set bufio reader Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: renaming, use functional type & introduce xstream module Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: fix go version to minor Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: move stream helper under pkg, and rename to xstreamencoding Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: Introduce offset handling Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: method name, doc comment & text encoding offset tracking Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> introduce streaming Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> Streaming adoption example for text encoding extension Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: naming consistenct Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: remove context from decode calls Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: remove stream buffer option and rely on user set bufio reader Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: renaming, use functional type & introduce xstream module Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: fix go version to minor Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: move stream helper under pkg, and rename to xstreamencoding Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> introduce streaming Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> Streaming adoption example for text encoding extension Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: naming consistenct Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: remove context from decode calls Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: remove stream buffer option and rely on user set bufio reader Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> review changes: renaming, use functional type & introduce xstream module Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co> introduce streaming Signed-off-by: Kavindu Dodanduwa <kavindu.dodanduwa@elastic.co>
1 parent d0cd8a5 commit bc6a7ed

41 files changed

Lines changed: 1939 additions & 12 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.chloggen/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ components:
179179
- pkg/translator/zipkin
180180
- pkg/winperfcounters
181181
- pkg/xk8stest
182+
- pkg/xstreamencoding
182183
- processor/akamaidetector
183184
- processor/alibabaecsdetector
184185
- processor/attributes
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7+
component: extension/encoding
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Introduce experimental xstream module under encoding module. Module contains experimental streaming helpers.
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [38780]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: []
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7+
component: extension/encoding
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Introduce streaming support for encoding extensions
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [38780]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: []

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ extension/encoding/jsonlogencodingextension/ @open-telemetry
110110
extension/encoding/otlpencodingextension/ @open-telemetry/collector-contrib-approvers @dao-jun @VihasMakwana
111111
extension/encoding/skywalkingencodingextension/ @open-telemetry/collector-contrib-approvers @JaredTan95
112112
extension/encoding/textencodingextension/ @open-telemetry/collector-contrib-approvers @MovieStoreGuy @atoulme
113+
extension/encoding/xstream/ @open-telemetry/collector-contrib-approvers @Kavindu-Dodan @axw
113114
extension/encoding/zipkinencodingextension/ @open-telemetry/collector-contrib-approvers @MovieStoreGuy @dao-jun
114115
extension/googleclientauthextension/ @open-telemetry/collector-contrib-approvers @dashpole @aabmass @braydonk @jsuereth @psx95 @ridwanmsharif
115116
extension/headerssetterextension/ @open-telemetry/collector-contrib-approvers @VihasMakwana
@@ -193,6 +194,7 @@ pkg/translator/splunk/ @open-telemetry
193194
pkg/translator/zipkin/ @open-telemetry/collector-contrib-approvers @MovieStoreGuy @andrzej-stencel @crobert-1
194195
pkg/winperfcounters/ @open-telemetry/collector-contrib-approvers @dashpole @Mrod1598 @alxbl @pjanotti
195196
pkg/xk8stest/ @open-telemetry/collector-contrib-approvers @crobert-1
197+
pkg/xstreamencoding/ @open-telemetry/collector-contrib-approvers @Kavindu-Dodan @axw
196198
processor/attributesprocessor/ @open-telemetry/collector-contrib-approvers @boostchicken
197199
processor/coralogixprocessor/ @open-telemetry/collector-contrib-approvers @crobert-1 @povilasv @iblancasa
198200
processor/cumulativetodeltaprocessor/ @open-telemetry/collector-contrib-approvers @TylerHelmuth

.github/ISSUE_TEMPLATE/beta_stability.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ body:
107107
- extension/encoding/otlpencoding
108108
- extension/encoding/skywalkingencoding
109109
- extension/encoding/textencoding
110+
- extension/encoding/xstream
110111
- extension/encoding/zipkinencoding
111112
- extension/googleclientauth
112113
- extension/headerssetter
@@ -190,6 +191,7 @@ body:
190191
- pkg/translator/zipkin
191192
- pkg/winperfcounters
192193
- pkg/xk8stest
194+
- pkg/xstreamencoding
193195
- processor/attributes
194196
- processor/coralogix
195197
- processor/cumulativetodelta

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ body:
110110
- extension/encoding/otlpencoding
111111
- extension/encoding/skywalkingencoding
112112
- extension/encoding/textencoding
113+
- extension/encoding/xstream
113114
- extension/encoding/zipkinencoding
114115
- extension/googleclientauth
115116
- extension/headerssetter
@@ -193,6 +194,7 @@ body:
193194
- pkg/translator/zipkin
194195
- pkg/winperfcounters
195196
- pkg/xk8stest
197+
- pkg/xstreamencoding
196198
- processor/attributes
197199
- processor/coralogix
198200
- processor/cumulativetodelta

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ body:
104104
- extension/encoding/otlpencoding
105105
- extension/encoding/skywalkingencoding
106106
- extension/encoding/textencoding
107+
- extension/encoding/xstream
107108
- extension/encoding/zipkinencoding
108109
- extension/googleclientauth
109110
- extension/headerssetter
@@ -187,6 +188,7 @@ body:
187188
- pkg/translator/zipkin
188189
- pkg/winperfcounters
189190
- pkg/xk8stest
191+
- pkg/xstreamencoding
190192
- processor/attributes
191193
- processor/coralogix
192194
- processor/cumulativetodelta

.github/ISSUE_TEMPLATE/other.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ body:
104104
- extension/encoding/otlpencoding
105105
- extension/encoding/skywalkingencoding
106106
- extension/encoding/textencoding
107+
- extension/encoding/xstream
107108
- extension/encoding/zipkinencoding
108109
- extension/googleclientauth
109110
- extension/headerssetter
@@ -187,6 +188,7 @@ body:
187188
- pkg/translator/zipkin
188189
- pkg/winperfcounters
189190
- pkg/xk8stest
191+
- pkg/xstreamencoding
190192
- processor/attributes
191193
- processor/coralogix
192194
- processor/cumulativetodelta

.github/ISSUE_TEMPLATE/unmaintained.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ body:
109109
- extension/encoding/otlpencoding
110110
- extension/encoding/skywalkingencoding
111111
- extension/encoding/textencoding
112+
- extension/encoding/xstream
112113
- extension/encoding/zipkinencoding
113114
- extension/googleclientauth
114115
- extension/headerssetter
@@ -192,6 +193,7 @@ body:
192193
- pkg/translator/zipkin
193194
- pkg/winperfcounters
194195
- pkg/xk8stest
196+
- pkg/xstreamencoding
195197
- processor/attributes
196198
- processor/coralogix
197199
- processor/cumulativetodelta

.github/component_labels.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ extension/encoding/jsonlogencodingextension extension/encoding/jsonlogencoding
9191
extension/encoding/otlpencodingextension extension/encoding/otlpencoding
9292
extension/encoding/skywalkingencodingextension extension/encoding/skywalkingencoding
9393
extension/encoding/textencodingextension extension/encoding/textencoding
94+
extension/encoding/xstream extension/encoding/xstream
9495
extension/encoding/zipkinencodingextension extension/encoding/zipkinencoding
9596
extension/googleclientauthextension extension/googleclientauth
9697
extension/headerssetterextension extension/headerssetter
@@ -174,6 +175,7 @@ pkg/translator/splunk pkg/translator/splunk
174175
pkg/translator/zipkin pkg/translator/zipkin
175176
pkg/winperfcounters pkg/winperfcounters
176177
pkg/xk8stest pkg/xk8stest
178+
pkg/xstreamencoding pkg/xstreamencoding
177179
processor/attributesprocessor processor/attributes
178180
processor/coralogixprocessor processor/coralogix
179181
processor/cumulativetodeltaprocessor processor/cumulativetodelta

0 commit comments

Comments
 (0)