Readiness Probe
Readiness Probe
Extension Description
Extend application readiness detection points.
Extension Interface
org.apache.dubbo.qos.probe.ReadinessProbe
Extension Configuration
Dubbo QOS ready
command auto-discovery
Known Extensions
org.apache.dubbo.qos.probe.impl.BootstrapReadinessProbe
org.apache.dubbo.qos.probe.impl.ProviderReadinessProbe
Extension Example
Maven project structure:
src
|-main
|-java
|-com
|-xxx
|-XxxReadinessProbe.java (implements ReadinessProbe interface)
|-resources
|-META-INF
|-dubbo
|-org.apache.dubbo.qos.probe.ReadinessProbe (plain text file, content: xxx=com.xxx.XxxReadinessProbe)
XxxReadinessProbe.java:
package com.xxx;
public class XxxReadinessProbe implements ReadinessProbe {
public boolean check() {
// ...
}
}
META-INF/dubbo/org.apache.dubbo.qos.probe.ReadinessProbe:
xxx=com.xxx.XxxReadinessProbe
Feedback
Was this page helpful?
Yes No
Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)