I want to know if it is possible to make a request from a NestJs microservice to other non NestJs microservices (for example: Spring boot microservice) using NestJs ClientProxy. I have googled for a while but i haven't seen any post talking about such communication.
我想知道是否可以使用NestJs ClientProxy从NestJs微服务向其他非NestJs微服务(例如:Spring Boot微服务)发出请求。我已经在谷歌上搜索了一段时间,但我还没有看到任何关于这种交流的帖子。
Any idea, suggestion or link to a post will be appreciated
任何想法,建议或链接到一个职位将不胜感激
更多回答
优秀答案推荐
That should indeed be possible - basically one of the main benefits to having microservices is for them to be language agnostic.
这确实应该是可能的--基本上,拥有微服务的主要好处之一是它们是语言不可知的。
Basically you are leveraging the messaging broker functionality across microservices - main thing you need to take into account is to use the same queue configurations for both the producer and the consumer(s) side
基本上,您是在跨微服务利用消息传递代理功能-您需要考虑的主要问题是为生产者和消费者端使用相同的队列配置
更多回答
我是一名优秀的程序员,十分优秀!