Skip to content

Conversation

@passuied
Copy link
Contributor

@passuied passuied commented Oct 22, 2025

Description

Fixing intermittent avro decoding issue on union types due to underlying goavro library issue due to shared state mutation.
[x] Created unit test to reproduce the issue
[ ] Upgraded goavro library following merging PR

Issue reference

#4067

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation / N/A

Note: We expect contributors to open a corresponding documentation PR in the dapr/docs repository. As the implementer, you are the best person to document your work! Implementation PRs will not be merged until the documentation PR is opened and ready for review.

…rror:

```
Error: cannot encode textual map: value for \"policy_id\" does not match its schema: cannot encode textual union: cannot encode textual null: expected: Go nil; received: int64
```
or
```
Error: cannot encode textual map: value for \"practice_id\" does not match its schema: cannot encode textual union: cannot encode textual null: expected: Go nil; received: int64.
```
1. Retrieved binary value from Confluent topic as base64
2. sending it to be deserialized

Signed-off-by: Patrick Assuied <[email protected]>
Signed-off-by: Patrick Assuied <[email protected]>
@passuied passuied changed the title Bug/avro-deserialization-errors Fixing an intermittent avro decoding issue on union types Oct 22, 2025
Signed-off-by: Patrick Assuied <[email protected]>
Signed-off-by: Patrick Assuied <[email protected]>
Signed-off-by: Patrick Assuied <[email protected]>
@passuied
Copy link
Contributor Author

Abandoning this PR

@passuied passuied closed this Oct 22, 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.

1 participant