centraldogma
centraldogma copied to clipboard
Asynchronous startup/shutdown API
CentralDogma.start() and stop() are synchronous, and we could make it asynchronous like Server in Armeria. Asynchronous startup/shutdown API is mainly useful when you want to start or stop a CentralDogma cluster concurrently without introducing additional threads and signaling code.
Perhaps we could generalize the code in Armeria Server and make it usable in CentralDogma and CommandExecutor implementations.
Resolving this issue would change the behavior and signature of CentralDogma.start() and stop().
https://github.com/line/armeria/pull/1344