awslabs / amazon-sqs-java-extended-client-lib

An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
Apache License 2.0
207 stars 109 forks source link

Cross language incompatibility : java namespace in sqs json body causing deserialization issue on dotnet #133

Open cboudereau opened 8 months ago

cboudereau commented 8 months ago

Hi!

First of all, thank you for your amazing work done.

The java library is not compatible with the dotnet library and others since the java namespace is located inside a dynamic array https://github.com/raol/amazon-sqs-net-extended-client-lib/issues/32.

In golang, the library tends to support the latest version but still, previous java library with other namespace is not compatible when the golang client sends a sqs message to a java consumer. Here is an attempt which is not compatible with older java versions: https://github.com/jwcorle/sqs-extended-client-go/blob/main/client.go#L201

I find that putting such namespace is annoying, how about using only the pointer with the bucketname and the s3key like in dotnet and golang