Skip to content

Bugfix/WI 712742 kafka headers serialization bug#25

Merged
kaushalaroraharman merged 4 commits intomainfrom
bugfix/WI-712742-Kafka-headers-serialization
Mar 28, 2025
Merged

Bugfix/WI 712742 kafka headers serialization bug#25
kaushalaroraharman merged 4 commits intomainfrom
bugfix/WI-712742-Kafka-headers-serialization

Conversation

@kaushalaroraharman
Copy link
Contributor

@kaushalaroraharman kaushalaroraharman commented Mar 26, 2025

Resolves #712742 -
When Vehicle is offline and if any message needs to be sent then message gets Saved in offline Buffer collection. Once vehicle comes online then same message will be sent to vehicle. But in this message Kafka Headers are not sent which was part of original message.


Describe behaviour before the change

  • Kafka Headers filed inside IgniteEvent were being ignored during serialization and de-serialization process, and thus were not being saved when storing the IgniteEvent in MongoDB.

Describe behaviour after the change

  • KafkaHeaders filed in IgniteEvent instance will now be considered if non-null, during ser and de-ser.

Pull request checklist

  • I have read the CONTRIBUTING.md
  • My code follows the code style of this project
  • Tests for the changes have been added (for bug fixes / features)
  • All new and existing tests passed.
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • Yes
  • No

Copy link

@premHarman premHarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

WI 712742 Remove transient to serialize kafkaHeaders
@sonarqubecloud
Copy link

@kaushalaroraharman kaushalaroraharman merged commit 8a0617e into main Mar 28, 2025
5 checks passed
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