cookie-cutter icon indicating copy to clipboard operation
cookie-cutter copied to clipboard

Using QueueMetadata fields to represent different data and types

Open plameniv opened this issue 4 years ago • 0 comments

We are using QueueMetadata.VisibilityTimeout to pass in the number of seconds for the visibility timeout and to return the timeNextVisible date in the format of "Tue, 21 Apr 2020 16:33:23 GMT"

Similarly we are using QueueMetadata.TimeToLive to pass in the number of seconds for a message’s time to live and to return the expirationTime date in the format of "Tue, 21 Apr 2020 16:33:23 GMT"

We should instead add QueueMetadata.TimeNextVisible and QueueMetadata.ExpirationTime.

This can potentially break downstream users if they use the current metadata to access timeNextVisible and expirationTime.

plameniv avatar Apr 21 '20 18:04 plameniv