The question is straightforward. I have an express backend and i want to implement a circuit breaker and retry policy for each endpoint. I have explored a few libraries like polly.js and opossum but the problem im facing is that polly.js only allows implementing retry policies and opossum only allows implementing circuit breaking. Please correct me if im wrong with above statements since their documentation isn’t very good.
For anyone answering please provide a code snippet for any example endpoint.