btpka3 opened a new issue, #15320: URL: https://github.com/apache/dubbo/issues/15320
### Pre-check - [x] I am sure that all the content I provide is in English. ### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar feature requirement. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Descriptions dubbo java client version : 3.3.3 dubbo configuration key "dubbo.rpc.tri.resolve-fallback-to-default" to false I'm using triple protocol to send http request with service group and version info . ```shell curl -s -XPOST "http://localhost:50051/com.my.Service/request" \ -H "Content-Type: application/json" \ -H "rest-service-group: DUBBO" \ -H "rest-service-version: 1.0.0" \ -d '["firstStringParam",{"k1":"v1","k2":"v2"}]' | jq ```` and 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. but hyphen is not a valid shell identifier. ```shell $ export DUBBO_RPC_TRI_RESOLVE-FALLBACK-TO-DEFAULT=flase -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 . links : - org.apache.dubbo.rpc.protocol.tri.TripleProtocol#[RESOLVE_FALLBACK_TO_DEFAULT](https://github.com/apache/dubbo/blob/dubbo-3.3.3/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java#L84C9-L84C36) - org.apache.dubbo.common.config.EnvironmentConfiguration#[getInternalProperty](https://github.com/apache/dubbo/blob/dubbo-3.3.3/dubbo-common/src/main/java/org/apache/dubbo/common/config/EnvironmentConfiguration.java#L29C19-L29C38) - spring boot : [Binding Maps From Environment Variables](https://docs.spring.io/spring-boot/reference/features/external-config.html#features.external-config.typesafe-configuration-properties.relaxed-binding.environment-variables) - spring boot : org.springframework.core.env.SystemEnvironmentPropertySource#[checkPropertyName](https://github.com/spring-projects/spring-framework/blob/v6.2.5/spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java#L124) ### Related issues _No response_ ### Are you willing to submit a pull request to fix on your own? - [x] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
