Skip to content
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

Serialize/Deserialize list for multi-instance query result. #65

Open
jangalinski opened this issue Apr 4, 2024 · 0 comments
Open

Serialize/Deserialize list for multi-instance query result. #65

jangalinski opened this issue Apr 4, 2024 · 0 comments
Labels
Prio: COULD Feature is optional
Milestone

Comments

@jangalinski
Copy link
Contributor

Query and Result and serialized with avro ... but since we are using a multi instance response-type, the conversion takes place on array list, which fails:

org.axonframework.axonserver.connector.query.AxonServerNonTransientRemoteQueryHandlingException: An exception was thrown by the remote message handling component: Cannot build a converter to convert from java.util.ArrayList to [B

This problem is similar to json/jackson serialization with lists, where we need to include the FQN of the result type.

The obvious workaround is to define a list schema for the multi instance return type, but it would be nice/intersting if we could find a generic solution, maybe using multiple avro serialized bytes in a collection.

@jangalinski jangalinski added the Prio: COULD Feature is optional label Apr 4, 2024
@zambrovski zambrovski added this to the 0.0.1 - MVP milestone Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: COULD Feature is optional
Projects
None yet
Development

No branches or pull requests

2 participants