-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Rmq socket options not passed correctly when creating a microservice #7317
Comments
Would you like to create a PR for this issue? |
yes, I'll open a PR |
Let's track this here #7345 |
Hello, maybe forgive my misunderstanding, but dont we have the same problem with the /microservices/client/client-rmq.js file ? Indeed, with @nestjs/microservices@9.1.2 this working for my microservice app, the heartbeat is updated but not when using with ClientsModule/ClientProxy on another app with same version. So
heartbeat is updated on this microservice app. But Thanks |
Bug Report
Current behavior
When creating a RMQ microservice and passing socketOptions object it is not passed correctly to amqpb-connection-manager library. I saw the PR that was made #5790 but it did not resolve the issue.
The documentation listed in https://www.npmjs.com/package/amqp-connection-manager suggest that the following params:
options.heartbeatIntervalInSeconds and options.reconnectTimeInSeconds are passed directly to the library options.
Input Code
Expected behavior
pass the heartbeatIntervalInSeconds and reconnectTimeInSeconds as parameters when creating a connection.
Possible Solution
Environment
The text was updated successfully, but these errors were encountered: