如水

Results 20 comments of 如水

目前只支持注册执行器,不支持注册任务。

admin的通讯接口是http的,所以目前采用http方式的设计

> 如果用 websocket 或者 grpc 双向通讯的是可以的,但http不行,admin要下发任务到执行器,http做不到向client端通知

只要实现日志接口就可以集成到该项目,参考:https://github.com/xxl-job/xxl-job-executor-go/blob/master/log.go

> 我是指 LogHandler LogHandler 是个接口函数,,直接实现你的逻辑,把你实现的函数设置进去即可: 实现接口: func(req *LogReq) *LogRes 设置: exec.LogHandler(你自己实现的LogHandler)

要保障调度器到podIP访问可达,这个是网络问题

可以参考这个:https://github.com/gin-middleware/xxl-job-executor/blob/main/middleware.go ,把xxl-job-executor当作路由用,用自己定义的服务来执行