Set Custom Headers on Spring Eureka DiscoveryClient

Viewed 14

I need to populate 2 custom headers on all request to my Eureka instance and to other microservices.

For example, when MicroserviceA contacts my Eureka instance, it needs to set 2 headers. Where MicroserviceA calls MicroserviceB, it also needs to include those headers.

Any ideas on how this can accomplished?

0 Answers
Related