-
-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service broker with disabled load balancer fails to delivery Streams #937
Comments
I feel it won't work, because with a disabled load balancer, the messagebroker (e.g. NATS) balances the packets, and it won't transfer the stream packets to the same node. |
A couple options come to mind for different ways this can be fixed.
|
Is this problem still relevant or has it already been solved? I tried the suggested steps several times and all the time I got the correct result and the fully transferred file. |
@ngraef do you still face this issue? |
This was still a problem the last time I checked. However, I no longer use moleculer, so I can't say definitively for the latest version. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Current Behavior
Service brokers with the load balancer disabled, do not deliver Stream content to the receiver action.
Expected Behavior
A service broker should send the entire stream content to the same context even if the load balancer is disabled.
Failure Information
..
q: 239
[2021-06-08T22:41:09.818Z] INFO broker-one/TRANSIT: Put the chunk into pool (size: 237). Seq: 240
[2021-06-08T22:41:09.819Z] INFO broker-one/TRANSIT: Put the chunk into pool (size: 238). Seq: 241
...
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
npm ci
docker-compose up -d
node index.js
Reproduce code snippet
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
The text was updated successfully, but these errors were encountered: