-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
定时Job下全链路条件蓝绿发布如何配置 #198
Comments
定时Job,由于没有网关发送路由Header给定时服务,所以需要内置业务Header方式在定时服务上(规则配置在服务上) |
大佬再咨询下,需要在每个定时服务配置规则吗?还是可以统一配置,毕竟几百个服务(但规则都是统一的),想要效果如: xxljob ->B1 -> F1 ->E1 |
这么长的链路,你就把job那个服务视做网关来使用,如果需要通过外部参数(header,cookie,parameter)来驱动,http调用会从外部传入,而定时job不会传入这些参数,所以通过内置参数方式。定时job上除了需要配置内置参数外,其它用法都网关上使用一致。 上面是动态驱动规则,当然你可以不使用外部参数驱动,改用静态驱动,那就不需要配置内置参数。 |
好 ,我们用静态驱动方式试试 |
看文档说是可以用header方式配置,具体如何配了?现在全局配置如下
文档中描述如下:
,目的是通过region实现全链路的隔离
The text was updated successfully, but these errors were encountered: