-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问 如何配置RpcProvider为netty呢 #8
Comments
你好,非常简单,文档搜索 “ProviderFactory 参数”,设置其参数 “netType= NETTY”,然后参考pom引入相关依赖包 (netty + commons-pool2)即可。客户端也要做类似设置,设置 netType ,引入pom。 |
如果执行器使用了netty 是否admin也需要修改配置使用netty呢 |
XxlJobExecutor 和XxlRpcSpringProviderFactory 会有冲突喔 都需要配置端口 |
@farsunset 你好,两端通讯方案需要一致才可以,需要同时为netty。 一个项目支持启动多个 XXL-RPC Server的,只需要服务端口号不一致即可。 |
请问 如何配置RpcProvider为netty呢,看了一圈文档里没有示例代码
http://www.xuxueli.com/xxl-rpc/#/?id=%E4%BA%8C%E3%80%81%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8%EF%BC%88springboot%E7%89%88%E6%9C%AC%EF%BC%89
The text was updated successfully, but these errors were encountered: