啟動探測 (Startup Probe)

擴充說明

擴充應用程式啟動的偵測點

擴充埠

org.apache.dubbo.qos.probe.StartupProbe

擴充配置

Dubbo QOS startup 命令自動發現

已知擴充

  • org.apache.dubbo.qos.probe.impl.BootstrapLivenessProbe

擴充範例

Maven 專案結構

src
 |-main
    |-java
        |-com
            |-xxx
                |-XxxStartupProbe.java (implement the StartupProbe interface)
    |-resources
        |-META-INF
            |-dubbo
                |-org.apache.dubbo.qos.probe.StartupProbe (plain text file, content: xxx=com.xxx.XxxStartupProbe)

XxxStartupProbee.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

上次修改時間:2023 年 1 月 2 日:增強英文文件 (#1798) (95a9f4f6c1c)