Is it correct to create HystrixCommand
object implementations as Singleton?
If it does, is it going to hold the thread till it finishes execution and won't create anymore?
No, they are executed only once. They are stateful with input arguments, response value or error and request log. (c) Hystrix github
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With