Skip to content
Discussion options

You must be logged in to vote

Hello,

Thanks for your reply @JorTurFer!

The more I think of this issue, the more I realize that the main problem is our sequence of:

  1. Read message
  2. Delete message
  3. Process message
  4. Write result to blob

If we change it to:

  1. Read message
  2. Process message (while renewing lease by extending visibility timeout on the message until done)
  3. Write result to blob
  4. Delete message

...the queue length would reflect both unprocessed and ongoing messages, and the scaler would be able to scale out to 1 replica per message in parallel, which is what I want (and my intention on the original question).

I see now that #4002 adds a fix to make this behave exactly the way I want (as long as I update the applicati…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JorTurFer
Comment options

Answer selected by audunsol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants