Skip to content

Integrating YARP with Consul #2343

Answered by ReubenBond
oshabani asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @oshabani, this should be possible today using the (preview) Microsoft.Extensions.ServiceDiscovery.Dns and the Microsoft.Extensions.ServiceDiscovery.Yarp library The first library implements service discovery via DNS SRV, which Consul supports, and the second integrates service discovery into YARP using a destination resolver. I have not tried integrating with Consul yet, so your experience would be welcome.

The README files contain some example code to get you started:

I hope that helps. Please let me know …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MihaZupan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants