luger1990 opened a new issue, #15045:
URL: https://github.com/apache/dubbo/issues/15045

   ### 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 issues.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Dubbo Version
   
   ```
   dubbo:
     application:
       name: ${spring.application.name}-dubbo
       id: ${spring.application.name}-dubbo
       register-mode: instance
       logger: slf4j
       owner: shen
       organization: vn
       environment: @dubbo.environment@
       shutwait: 60000
       meta-data:
         hostname4: ${HOSTNAME:localhost}
       parameters:
         hostname5: ${HOSTNAME:localhost}
     protocol:
       id: dubbo
       name: dubbo
       port: -1
       serialization: hessian2
     registry:
       address: nacos://@nacos.server@
       meta-data:
         hostname3: ${HOSTNAME:localhost}
       parameters:
         hostname2: ${HOSTNAME:localhost}
     config-center:
       address: nacos://@nacos.server@
     metadata-report:
       address: nacos://@nacos.server@
       parameters:
         hostname1: ${HOSTNAME:localhost}
     scan:
       base-packages: com.nct
     consumer:
       check: false
     provider:
       threads: 500
       delay: 10000
     metrics:
       protocol: prometheus
   ```
   I user the code above try to set extra metadata 'hostname', but it dose not 
work. So how to set extra metadata
   
   ### Steps to reproduce this issue
   
   use the dubbo config above
   
   ### What you expected to happen
   
   I want to set extra metadata
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] 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]

Reply via email to