You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "chenshuo (JIRA)" <ji...@apache.org> on 2019/08/01 10:15:00 UTC
[jira] [Created] (SCB-1409) The Mersher chassis.yaml config didn't
support for Provider circuitBreaker .
chenshuo created SCB-1409:
-----------------------------
Summary: The Mersher chassis.yaml config didn't support for Provider circuitBreaker .
Key: SCB-1409
URL: https://issues.apache.org/jira/browse/SCB-1409
Project: Apache ServiceComb
Issue Type: Bug
Environment: linux
Reporter: chenshuo
I use this mersher as provider for a httpserver.I exce the cmd "export SPECIFIC_ADDR=127.0.0.1:80" before start mersher.I make the httpserver sleep to trigger circuitBreaker.But I find the following configuration is invalid finally:
isolation:
Consumer:
timeout:
enabled: true
timeoutInMilliseconds: 500
maxConcurrentRequests: 10
Provider:
timeout:
enabled: true
timeoutInMilliseconds: 500
maxConcurrentRequests: 10
circuitBreaker:
Consumer:
enabled: true
forceOpen: false
forceClosed: false
sleepWindowInMilliseconds: 10000
requestVolumeThreshold: 1
errorThresholdPercentage: 1
Provider:
enabled: true
forceOpen: true
forceClosed: false
sleepWindowInMilliseconds: 10000
requestVolumeThreshold: 1
errorThresholdPercentage: 20
fallback:
Consumer:
enabled: true
maxConcurrentRequests: 1
Provider:
enabled: true
maxConcurrentRequests: 1
fallbackpolicy:
Consumer:
policy: returnnull
Provider:
policy: returnnull
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)