Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] dubbo 3.3.2 can not set extra metadata #15045

Open
3 of 4 tasks
luger1990 opened this issue Jan 9, 2025 · 0 comments
Open
3 of 4 tasks

[Bug] dubbo 3.3.2 can not set extra metadata #15045

luger1990 opened this issue Jan 9, 2025 · 0 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@luger1990
Copy link

luger1990 commented Jan 9, 2025

Pre-check

  • 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 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.xxx
  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

@luger1990 luger1990 added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Status: Todo
Development

No branches or pull requests

1 participant