Open rmt2021 opened 2 years ago
@rmt2021 What are the steps that you took to reproduce the bug?
So it's actually the Source
that is failing here by the sound of it? But there's no source inside our own adapter that could throw an IndexOutOfRangeException? Isn't this error coming from inside the Azure Storage Queues driver itself?
@rmt2021 are you still having this problem?
Version Information 3d881af4f4831cb33a319aeda95ed13ceb61da5c
Describe the bug
When using
SendNext
method to send a message to the queue based on Azure Queue service, it may encounter transient errors (e.g., 503). So the QueueSendMessageAsync
called inside will fail. However, it may not fail immediately but will fail at theReceiveMessageAsync
when trying to get the message, and aSystem.IndexOutOfRangeException
will appear.To Reproduce
We found the test Akka.Streams.Azure.StorageQueue.Tests.QueueSinkSpec.A_QueueSink_should_skip_failing_messages_if_supervision_strategy_is_restart which exercises the
SendMessageAsync
andReceiveMessageAsync
could be used to reproduce. Stack trace:Environment Windows