Startup Probe
Summary
Extend the detection point of application startup.
Extension Interface
org.apache.dubbo.qos.probe.StartupProbe
Extension Configuration
Dubbo QOS startup
command will automaticly discovery.
Existing Extensions
org.apache.dubbo.qos.probe.impl.BootstrapStartupProbe
Extension Guide
Directory layout:
src
|-main
|-java
|-com
|-xxx
|-XxxStartupProbe.java (StartupProbe implementation)
|-resources
|-META-INF
|-dubbo
|-org.apache.dubbo.qos.probe.StartupProbe (plain text file with the content:xxx=com.xxx.XxxStartupProbe)
XxxStartupProbe.java:
package com.xxx;
public class XxxStartupProbe implements StartupProbe {
public boolean check() {
// ...
}
}
META-INF/dubbo/org.apache.dubbo.qos.probe.StartupProbe:
xxx=com.xxx.XxxStartupProbe
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)