-
路由器暴露18002端口并映射到内网服务器的8002端口
1)当客户端配置中的referer不配置directUrl="公网地址:18002",走注册中心找服务时,获取的为内网服务器192.xxx.xxx.xxx:8002,导致客户端连接服务端失败;
2)当客户端配置的referer配置directUrl="公网地址:18002",即绕开注册中心来获取服务,则调用服务接口正常。
针对1)出现的现…
-
com.weibo.api.motan.exception.MotanFrameworkException: error_message: Failed to subscribe motan://169.254.130.54:0/com.xxxxxxx.passport.service.AccountService?group=default_rpc to zookeeper(zookeeper:…
-
我看到提交上来的代码中有支持spring的注解,主持spring注解的新特性以及kryo的序列化是否会合并到下一个版本中。
-
1其中transport-netty的版本为3.2.5
2其中registry-zookeeper的版本为3.7.0
igool updated
8 years ago
-
想改造成支持thrift协议的,有人能提供一个大概的思路吗?
-
服务A依赖服务B,当B服务更新版本的时候,比如接口返回的对象增加、改变了某些字段,更极端情况下某些老接口的签名不兼容了,这种情况下motan似乎没法控制那些还没有更新客户端的A服务实例去访问老接口的B服务实例。
如果无法实现,是否就意味着:
1. 要么,如果破坏了兼容性,部署就必须联动一起,无法解决
2. 要么,尽量不破坏兼容性,服务A自行选择更新客户端接口的时间
-
你好,
Motan client端报了一个错误
com.weibo.api.motan.exception.MotanFrameworkException: error_message: decode error: isResponse=true, status: 503, error_code: 20003,r=
at com.weibo.api.motan.protocol.rpc.Defau…
-
如果是provider端的service依赖于本应用的另一个serivce,属于同一个jvm调用,为啥要走网络,即使是走本机的网卡也不是很合适吧?
-
nohup java -Djava.ext.dirs=./lib -jar order-service-0.0.1-SNAPSHOT.jar >log.txt &
目前是采用这种方式。但是这样的话所有的日志都在一个文件里面。请问我怎么配置日志,就像log4j那样?
-
/motan:service
/motan:service
如上配置,export不能使用相同的端口吗?如果在一个项目中存在多个service,就需要规划好端口的使用。有没有更好的办法可以处理呢?