Azure / azure-storage-net

Microsoft Azure Storage Libraries for .NET
Apache License 2.0
446 stars 373 forks source link

Custom metadata for Azure queue message #1093

Open yaroslav-tykhonchuk opened 10 months ago

yaroslav-tykhonchuk commented 10 months ago

Which service(blob, file, queue, table) does this issue concern?

Queue

Which version of the SDK was used?

12.16.0

Which platform are you using? (ex: .NET Core 2.1)

net7.0

What problem was encountered?

Azure queue lacks the opportunity to add custom metadata to every message. Something like there is already implemented in Azure blobs or Amazon SQS. The issue was already reported here.

In our case, we would like to have such metadata to detect if the message contains the body itself and needs to be deserialized or if the message is too big and only stores the reference to the blob.

How can we reproduce the problem in the simplest way?

Try to add custom metadata to Azure queue message.

Have you found a mitigation/solution?