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

dubbo多协议怎么破? #108

Open
abcpopop opened this issue Feb 18, 2019 · 4 comments
Open

dubbo多协议怎么破? #108

abcpopop opened this issue Feb 18, 2019 · 4 comments

Comments

@abcpopop
Copy link

No description provided.

@skyesx
Copy link
Contributor

skyesx commented Feb 18, 2019

不太明确指代什么,但你看看修改application.yml里的dubbo配置能否满足你的需求?

@abcpopop
Copy link
Author

我配置了dubbo多协议,你这个框架报错,提示有两个protocolConfig

@skyesx
Copy link
Contributor

skyesx commented Feb 19, 2019

能贴一下配置的内容,我这边重现一下?

@abcpopop
Copy link
Author

abcpopop commented Feb 20, 2019

dubbo:
  application:
    id: manager-service_1.0.0
    logger: slf4j
    name: manager-service_1.0.0
    qos-port: 22225
    dump-directory: D:/dubbo
  registry:
    address: zookeeper://127.0.0.1:2181
    id: zookeeper
  provider:
    timeout: 600000
    filter: tracing
    group: dev
    # 延迟暴露,登spring初始化完成后再暴露服务
    # delay: -1
    protocol: dubbo
    charset: UTF-8
  consumer:
    timeout: 600000
    group: dev
  protocols:
    dubbo:
      id: dubbo
      name: dubbo
      port: 12345
      charset: UTF-8
      status: server
      default: true
      token: true
    hessian:
      id: hessian
      name: hessian
      port: 12346
      status: server
      server: jetty
      charset: UTF-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants