Startup Probe

Startup Probe

Expansion Description

Detection points for extended application startup.

Extension Interface

org.apache.dubbo.qos.probe.StartupProbe

Extension Configuration

Dubbo QOS startup command auto-discovery

Known Extensions

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

Extension Example

Maven project structure:

  1. src
  2. |-main
  3. |-java
  4. |-com
  5. |-xxx
  6. |-XxxStartupProbe.java (implements StartupProbe interface)
  7. |-resources
  8. |-META-INF
  9. |-dubbo
  10. |-org.apache.dubbo.qos.probe.StartupProbe (plain text file, content: xxx=com.xxx.XxxStartupProbe)

XxxStartupProbe.java:

  1. package com.xxx;
  2. public class XxxStartupProbe implements StartupProbe {
  3. public boolean check() {
  4. // ...
  5. }
  6. }

META-INF/dubbo/org.apache.dubbo.qos.probe.StartupProbe:

  1. xxx=com.xxx.XxxStartupProbe

Feedback

Was this page helpful?

Yes No

Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)