resilient-http/resilient.js

Do you need a registry to use Discovery?

Opened this issue · 2 comments

It always returns 1003 or 1004 when Discovery is used.

Can you provide detailed steps to discover the server and find the return of the service?

h2non commented

High-level algorithm is represented here:
https://github.com/resilient-http/resilient.js#how-does-it-work

This is a sample dummy discovery server:
https://github.com/resilient-http/resilient-server

This is a sample middleware for Consul based server discovery:
https://github.com/h2non/resilient-consul

You have all the details in the code.