Giter VIP home page Giter VIP logo

Comments (5)

catalpa-tree avatar catalpa-tree commented on June 5, 2024

看结果走了全局缺省策略
image

from discovery.

HaojunRen avatar HaojunRen commented on June 5, 2024

定时Job,由于没有网关发送路由Header给定时服务,所以需要内置业务Header方式在定时服务上(规则配置在服务上)

from discovery.

catalpa-tree avatar catalpa-tree commented on June 5, 2024

定时Job,由于没有网关发送路由Header给定时服务,所以需要内置业务Header方式在定时服务上(规则配置在服务上)

大佬再咨询下,需要在每个定时服务配置规则吗?还是可以统一配置,毕竟几百个服务(但规则都是统一的),想要效果如:
xxljob -> A1 ->B1 -> C1 ->D1
xxljob -> A2 ->B2 -> C2 ->D2

xxljob ->B1 -> F1 ->E1
xxljob ->B2 -> F2 ->E2

from discovery.

HaojunRen avatar HaojunRen commented on June 5, 2024

这么长的链路,你就把job那个服务视做网关来使用,如果需要通过外部参数(header,cookie,parameter)来驱动,http调用会从外部传入,而定时job不会传入这些参数,所以通过内置参数方式。定时job上除了需要配置内置参数外,其它用法都网关上使用一致。

上面是动态驱动规则,当然你可以不使用外部参数驱动,改用静态驱动,那就不需要配置内置参数。

from discovery.

catalpa-tree avatar catalpa-tree commented on June 5, 2024

好 ,我们用静态驱动方式试试

from discovery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.