GM nestjs devs,
Prerequisites:
- Nestjs App API -> Accepts requests and produces queue entries.
- Nestjs Worker Microservice -> Consumes and processes queue entries.
The API should accept requests via a web server and offload tasks that generate high load to the worker via bull.
The documentation explains how producer and consumer need to behave in one application, but to my knowledge not how I outsource the consumer to a microservice.
Questions:
- Which transporter must be used ?
- Can the two services run on different systems ?
- Is it only necessary that the API and the Worker import the module with the same properties ?
Thanks,
s1njar