@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface ReyClient
| Modifier and Type | Optional Element and Description |
|---|---|
String |
circuitBreaker
"" or configed backend name in application.properties
|
Class<?> |
fallback
handle fallback for the important method
Fallback class, the method name must same as the method of service. |
Class<? extends GroupRouter> |
groupRouter
route to service grouped, like k8s namespace with suffix of sharding key
|
boolean |
retry
true | false
|
String |
value
dns or value
|
public abstract String value
public abstract String circuitBreaker
public abstract Class<?> fallback
public abstract Class<? extends GroupRouter> groupRouter
Copyright © 2021. All rights reserved.