Replies: 4 comments
-
@wallyqs , @caspervonb , could you give an answer, please? |
Beta Was this translation helpful? Give feedback.
-
yes each callback is executed serially as in the other nats clients, so in order to process a message without causing head of line blocking it is necessary to handle manually for example doing |
Beta Was this translation helpful? Give feedback.
-
So this is not a bug and it is by design, right? No measures must be taken to fix this situation, correct? |
Beta Was this translation helpful? Give feedback.
-
right this would be working as designed. |
Beta Was this translation helpful? Give feedback.
-
I have the following simple test script:
I expect that when I publish 3 messages one by one the output will be:
But the actual output is:
That means the sleep callback is called in a sync way not asyc.
I can get the desired result if I modify the script as follows:
So now I get
The question is if it's made by design or it's a bug?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions