Readiness Probe
Summary
Extend the detection point of application readiness.
Extension Interface
org.apache.dubbo.qos.probe.ReadinessProbe
Extension Configuration
Dubbo QOS ready
command will automaticly discovery.
Existing Extensions
org.apache.dubbo.qos.probe.impl.BootstrapReadinessProbe
org.apache.dubbo.qos.probe.impl.ProviderReadinessProbe
Extension Guide
Directory layout:
src
|-main
|-java
|-com
|-xxx
|-XxxReadinessProbe.java (ReadinessProbe implementation)
|-resources
|-META-INF
|-dubbo
|-org.apache.dubbo.qos.probe.ReadinessProbe (plain text file with the 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?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified May 31, 2021: Update Probe related docs Weight (#812) (be8fdfe413)