Skip to content

Conversation

@pulzarraider
Copy link
Member

@pulzarraider pulzarraider commented May 13, 2025

The Pub/Sub message generated from this bundle is currently double JSON-encoded. This adds unnecessary complexity for other applications when processing the messages and introduces avoidable complications.

It can be simplified to just one JSON-encoding. Since this represents a significant backward compatibility (BC) break, the change must be included in the next major release.

TODO

  • For the 3.x branch, add a compatibility option that allows encoding messages using the new format, while still supporting decoding of both the old and new formats. This ensures no messages are lost during the upgrade process: [WIP] Encoding strategy for 3.x #64
  • Decide what to do with AttributesStamp. It may not be needed as the message headers are attributes.

Benefits

@pulzarraider pulzarraider added this to the 4.0 milestone May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants