You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sure that all the content I provide is in English.
Search before asking
I had searched in the issues and found no similar feature requirement.
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Dubbo java client version : 3.3.3
I'm using triple protocol to send http request to dubbo service.
I will provide multiple this service with different group or version, so it's required to specify group and version via http header:
I found it required to specify environment DUBBO_RPC_TRI_RESOLVE-FALLBACK-TO-DEFAULT to false to work, or else the http header "rest-service-group", "rest-service-version" has no effect.
While hyphen is not allowed as environment key:
$ export DUBBO_RPC_TRI_RESOLVE-FALLBACK-TO-DEFAULT=false
-bash: export: `DUBBO_RPC_TRI_RESOLVE-FALLBACK-TO-DEFAULT=flase': not a valid identifier
Some k8s service (such as Aliyun EDAS can set such env key), some others can't.
Request : please support allow specify such dubbo configuration keys from dubbo.properties and enviroment keys , add explain it in dubbo reference .
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Dubbo java client version : 3.3.3
I'm using triple protocol to send http request to dubbo service.
I will provide multiple this service with different group or version, so it's required to specify group and version via http header:
I found it required to specify environment
DUBBO_RPC_TRI_RESOLVE-FALLBACK-TO-DEFAULT
tofalse
to work, or else the http header "rest-service-group", "rest-service-version" has no effect.While hyphen is not allowed as environment key:
Some k8s service (such as Aliyun EDAS can set such env key), some others can't.
Request : please support allow specify such dubbo configuration keys from dubbo.properties and enviroment keys , add explain it in dubbo reference .
links :
Tip : It should to be fixed with a custom
org.apache.dubbo.common.context.ApplicationExt
implemention (NOT TESTED).META-INF/dubbo/org.apache.dubbo.common.context.ApplicationExt
with contentorg.apache.dubbo.common.config.Environment
with a custom org.apache.dubbo.common.config.EnvironmentConfiguration field.Related issues
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: