You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Haishi Yao (Jira)" <ji...@apache.org> on 2020/02/19 01:19:01 UTC

[jira] [Resolved] (SCB-1471) Make the config items description about fallback policy clearer

     [ https://issues.apache.org/jira/browse/SCB-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haishi Yao resolved SCB-1471.
-----------------------------
    Fix Version/s: java-chassis-2.0.0
       Resolution: Resolved

> Make the config items description about fallback policy clearer
> ---------------------------------------------------------------
>
>                 Key: SCB-1471
>                 URL: https://issues.apache.org/jira/browse/SCB-1471
>             Project: Apache ServiceComb
>          Issue Type: Wish
>          Components: Docs
>            Reporter: Haishi Yao
>            Priority: Minor
>             Fix For: java-chassis-2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Each of the config items of fallback policy contains the "type" field to indicate whether it's for consumer or provider side. You can reference to the current docs and get the uniform format like below
> {code:java}
> servicecomb.[namespace].[type].[MicroServiceName].[interface name].[property name]
> {code}
> The valid values of "type" field contains "Consumer" and "Provider".
> For example, "servicecomb.circuitBreaker.Consumer.enabled" is for consumer side, while "servicecomb.circuitBreaker.Provider.enabled" is for provider side. This field is necessary, but not contained in the config key column of the config items table. As a result, some users forget to write this field into their actual configurations, and the configuration items don't take effect.
> As a improvement, the "type" field should be added into the "configuration item" table column. For example, currently in the doc, the config item for timeout detection is shown as "servicecomb.isolation.timeout.enabled", and it should be changed to "servicecomb.isolation.[type].timeout.enabled".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)