airbnb / synapse

A transparent service discovery framework for connecting an SOA
MIT License
2.07k stars 251 forks source link

Add resolver interface and base implementation [stacked on #311] #314

Closed panchr closed 4 years ago

panchr commented 4 years ago

This PR is stacked on top of #311.

Summary

A Resolver is responsible for providing the abstraction that multiple watchers are one: it decides how to merge the list of backends from each one. This PRs adds:

Testing

Reviewers

@bsherrod @austin-zhu