gpt4 book ai didi

NestJs Microservices Communicating With Other Non NestJs Microservices Through ClientProxy(NestJs微服务通过ClientProxy与其他非NestJs微服务通信)

转载 作者:bug小助手 更新时间:2023-10-25 17:44:42 26 4
gpt4 key购买 nike



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

基本上,您是在跨微服务利用消息传递代理功能-您需要考虑的主要问题是为生产者和消费者端使用相同的队列配置


更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com