[Task] Client Active Offline
Description
Currently, shenyu only supports passive offline, during which the front-end will have a clear perception (i.e. response 408), indicating that it is better to support active offline.
The idea is roughly:
- The client utilizes the mechanism provided by
ShenyuClientShutdownHookto call the offline interface of shenyu admin; - In the offline interface of shenyu admin, we update the database and send events;
Task List
- [x] springmvc client
- [x] ~~spring cloud client wait for https://github.com/apache/shenyu/issues/4680~~
- [ ] springmvc client active offline support shenyu-admin cluster
- [x] ZookeeperClientRegisterRepository active offline @xuziyang
- [x] NacosClientRegisterRepository active offline @847850277
- [ ] EtcdClientRegisterRepository active offline @xuziyang
- [x] ConsulClientRegisterRepository active offline @847850277
- [x] ApolloClientRegisterRepository active offline @xuziyang
hello, when this will be ok?
hello, when this will be ok?
At least 2.6.0
After discuss, we think the spring cloud active offline is not needed.
I would like to take on this job.
please asign ConsulClientRegisterRepository active offline and NacosClientRegisterRepository active offline to me.
please asign ApolloClientRegisterRepository active offline to me.
https://github.com/apache/shenyu/issues/5324