Question: Configure multiple transports for a single app (microservice)
See original GitHub issueI’m submitting a…
[ ] Regression
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Hi,
I’d like to know if it’s possible to create a microservice
component with multiple transports. I’d like to have HTTP
and Queue
-based transports per application.
The idea being HTTP
to be used for external consumptions and Queue
for internal comms between apps.
Would that (have two transports in a single app) be a recommended pattern?
Thanks, Josh
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Microservices | NestJS - A progressive Node.js framework
Nest supports several built-in transport layer implementations, called transporters, which are responsible for transmitting messages between different ...
Read more >NestJS - Combine HTTP with MQTT and TCP in microservices
Yes it is. And you can connect multiple microservices, even if they are using the same Transport strategy (e.g. 3 Redis microservices, ...
Read more >Part 1: Introduction to Microservices and Transporters
Transporters enable you to connect components over a network using a pluggable communications layer and a very simple application-level message ...
Read more >Pattern: Microservice Architecture
It must support a variety of different clients including desktop browsers, mobile browsers and native mobile applications. The application might also expose an ......
Read more >Scalable microservices in Node using Nest.JS - Webera
In this step we will create a new application in NestJS using your CLI ... NestJS supports several built-in transport layer implementations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If I’m got your point, so you want to make a hybrid Application, Here is an example from official Examples : https://github.com/nestjs/nest/blob/master/sample/03-microservices/src/main.ts See the commented block.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.