We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
是否可以在调用 /api/job/trigger api时,返回体返回logid ,这样的话中台项目想要获取当前的执行日志就很方便了。 因并发执行同一个任务(请求替换参数值不一样)时,不知道对应的日志id是哪个,导致开发老是被拉上线给运维人员查日志,很浪费开发的时间,我们在项目上的做法是,发送jobid到dataxweb(被我们改写了,增加了几个接口),dataxweb添加一个新接口,该接口根据jobid生成一份新的job记录和id(就是把数据复制一份,替换id再插入数据库)并且替换变量和执行它,返回中台新jobid。中台拿着这个jobid去拉取所有日志(其实只会有1条)并录入我们的系统,供运维查看。这会产生新问题--生成的job太多了。 很操蛋的玩法,但我们实在没有其他办法了,从年初用到现在。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: