Updated on 2023-11-08 GMT+08:00

Bulkhead

Bulkhead is an exception detection mechanism. It is used when a request timeout or large traffic occurs. Generally, you need to set the timeout duration and the number of concurrent requests.

  • Bulkhead of Java chassis is used for microservice consumers. The bulkhead module must be integrated into microservice applications and the bizkeeper-consumer processing chain must be enabled.

    Configuration example:

    servicecomb:
      handler:   
        chain:     
          Consumer:       
            default: bizkeeper-consumer 
      isolation:   
        Consumer:     
          timeout:       
            enabled: true #Whether to enable timeout detection
          timeoutInMilliseconds: 30000 #Timeout threshold
  • The bulkhead policy of Spring Cloud Huawei is the same as that of circuit breaker. For details about the configuration example, see Circuit Breaker.