A list of puns related to "Transporter bridge"
Hey guys,
I'm new to NestJS. The team I'm working with recently decided to switch to NestJS, the custom framework used is starting to be messy.
I was assigned the task of creating a microservice (as in, a tiny application, not the NestJS' concept of Microservice) that basically subscribes to a Websocket server, parses, validates and pushes the messages to a RabbitMQ to be consumed by other microservices.
Reading the NestJS documentation, I feel like the answer would be a NestJS Microservice, this way I would have a single Controller with a bunch of @MessagePattern()
(or @EventPattern()
?) annotated methods, on top of which I could add validation and/or serialisation annotations.
However, seeing as there are no baked-in Microservice for Websockets, I feel like maybe that's not the way to go. I know I could just slap something together and duct-tape it until it works, but I'd rather take the time to properly learn the framework and implement it the "right way".
All this to say, my three questions are:
Thank you for your help!
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.