Skip to content

[receiver/googlecloudpubsub] Remove build-in encoding #41813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

alexvanboxel
Copy link
Contributor

@alexvanboxel alexvanboxel commented Aug 6, 2025

Description

Remove build-in support for cloud_logging and raw_text encoding.

The build-in encodings now have alternative encoding extensions to replace them. The removal was announced in the readme, and with a warning at startup:

The build-in encoding is deprecated and will be removed in v0.132.0: Use the text encoding extension instead.

Now an decriptive error is thrown, when the encoding is still configured.

Link to tracking issue

#41812

Testing

Added tests to give good errors when removed encoding is used in config.

Documentation

Refer to alternatives in the README.

@alexvanboxel
Copy link
Contributor Author

Note for approvers: I'm the code owner.

@atoulme atoulme merged commit 290608d into open-telemetry:main Aug 6, 2025
187 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants