smallrye-stork icon indicating copy to clipboard operation
smallrye-stork copied to clipboard

Add global discovery and load balancer types

Open vsevel opened this issue 3 years ago • 1 comments

Support global defaults for discovery and load balancer types used across the application:

stork.service-discovery=consul
stork.service-discovery.refresh-period=7M # default value for consul's discovery param refresh period
stork.load-balancer=least-response-time

# hello will use consul and least-response-time by default
hello/mp-rest/url=stork://my-service/hello

# if needed, params can still be used at the service level
stork.my-service.service-discovery.refresh-period=10M # override global default
stork.my-service.service-discovery.application=myapp

# or use an entirely new discovery/load balancer for a specific service
stork.my-service2.service-discovery=kubernetes

vsevel avatar Feb 21 '22 08:02 vsevel

Followed up by quarkusio/quarkus-upstream-roadmap#4.

organization: QuarkusIO
repository: quarkus-upstream-roadmap
issue: 4
url: quarkusio/quarkus-upstream-roadmap#4

cescoffier avatar Apr 05 '22 07:04 cescoffier