Skip to content

transferwise/tw-graceful-shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TW Graceful Shutdown

Apache 2 Java 11 Maven Central Owners Slack

Use the @application-engineering-on-call handle on Slack for help (this is only for Wisers).


About

This will keep your service running and kicking, until all the clients have understood that the node is going to shut down. It will make sure that all on-flight requests will get served, all the jobs will gracefully shut down, all kafka listeners will stop and so on and on.

The benefits are - fewer errors for clients, but also cleaner monitoring.

📚 Documentation

Documentation can be found here.

License

Copyright 2021 TransferWise Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.