Skip to content

Commit c6bcc15

Browse files
alexvanboxelvincentfree
authored andcommitted
[receiver/googlecloudpubsub] add ignore_encoding_error configuration (open-telemetry#39839)
#### Description Introduce a setting to ignore errors when the configured encoder. It's advised to set this to `true` when using a custom encoder, and use `receiver.googlecloudpubsub.encoding_error` metric to monitor the number of errors. Ignoring the error will cause the receiver to drop the message. #### Link to tracking issue open-telemetry#38164 #### Testing Tested with a custom encoder and introducing bogus message to the topic. #### Documentation Added the configuration setting to the README
1 parent 0334380 commit c6bcc15

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
change_type: breaking
2+
3+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
4+
component: googlecloudpubsubreceiver
5+
6+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
7+
note: Add `ignore_encoding_error` configuration to ignore decoding failures from the configured encoder
8+
9+
issues: [38164]
10+
11+
subtext: |
12+
Introduce a setting to ignore errors when the configured encoder. It's advised to set this to `true` when using
13+
a custom encoder, and use the new `receiver.googlecloudpubsub.encoding_error` metric to monitor the number of errors.
14+
Ignoring the error will cause the receiver to drop the message.
15+
16+
change_logs: [user]

0 commit comments

Comments
 (0)