-
目前在 spring cloud 环境中使用 xxl-job,想实现从注册中心直接拉地址。
在 docker 里,admin 重启之后 ip 地址会变,所以不能在启动完成之后用 xxl-job-admin 的服务名来拉取 xxl job admin 的 ip 地址。
我看了一下代码想在 LoadBalance 上做扩展,发现不太好自定义。
-
XXL-JOB VERSION: 2.1.2
> msg:com.xxl.rpc.util.XxlRpcException: java.lang.IllegalStateException: failed to create a child event loop at com.xxl.rpc.remoting.invoker.reference.XxlRpcReferenceBean$1.inv…
-
因网络不通而频繁创建NioEvenLoopGroup导致内存耗尽,是我在项目中真实遇到的问题。
另外如果连接目标(包括失效的)过多也会导致内存耗尽,该问题在docker/k8s随机网络分配的环境下更明显 。
NioEvenLoopGroup应该使用单例模式,以下是我的解决方案:
定义自动检查的单例:
// 须使用getEventLoopGroup方法获取,勿直接使用
…
-
Please answer some questions before submitting your issue. Thanks!
### Which version of XXL-JOB do you using?
2.0.0-SNAPSHOT
### Expected behavior
不知道作者有没在发布版本后做测试 2.0.0-SNAPSHOT执行器是不能自动注册发现的
…
-
我用的框架是spring boot ,在部署测试环境的时候配置执行器,代码如下
`xxl.job.admin.addresses=http://172.16.117.181:9996/xxl-job-admin
xxl.job.executor.appname=sunland-lite-timer
xxl.job.executor.ip=172.16.117.181
xxl.job.exe…
-
Please answer some questions before submitting your issue. Thanks!
### Which version of XXL-JOB do you using?
### Expected behavior
### Actual behavior
### Steps to reproduce the behavior
…
-
出现频率:偶现(低于1%)
邮件报错信息:
msg:com.wugui.datax.rpc.util.XxlRpcException: xxl-rpc, request timeout at:1585273504252, request:XxlRpcRequest{requestId='761c6e38-1401-4a1c-b345-01ca66684054', createMillisTim…
-
fail: DotXxlJob.Core.AdminClient[0]
request admin error.Response status code does not indicate success: 404 ().
System.Net.Http.HttpRequestException: Response status code does not indicate suc…
-
提交保存是失败,报如下异常
feign.FeignException: Unexpected character ('
-
In XXL-JOB-ADMIN , we can see a lot of nio group if some error occurs.
For some reasons, we may register some unreachable ip to xxl-job-admin.
In xxl-job-admin, we should invoke XxlRpcReferenceBea…