Is there any way to get the host of the response?
cdmikechen opened this issue · comments
Thinking Chen commented
We currently use a combination of stork and rest-client with quarkus 2.16.6, and we use consul for service discovery.
Now we want to get the downstream host based on stork request, is there currently a way to get it via stork?
We tried to get the response and found that the only response we get via rest-client is the context-length
and context-type
.
Thanks
Clement Escoffier commented
I don't totally understand what you are trying to achieve.
From what I understand:
- you have a rest client using Stork to discover the service instance (using consul)
- the rest client is used, the service instance is discovered (or cached), and the remote call happens
- you get the response
Do you need the service instance metadata in the response?
Clement Escoffier commented
no feedback from reporter.