apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.27k stars 26.37k forks source link

[Bug] use xml configration can't set protocol to tri #13954

Open Accelerator96 opened 4 months ago

Accelerator96 commented 4 months ago

Pre-check

Search before asking

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo Java 3.2.10

Steps to reproduce this issue

application.properties

dubbo.consumer.mesh-enable: true

consumer.xml

<dubbo:reference
        interface="io.daocloud.DemoService"
        id="demoService"
        provided-by="demoService"
        provider-port="20880"
        protocol="tri"/>

but

image

What you expected to happen

use dubbo prorocol in xml configration. so how to configration triple protocol in xml?

Anything else

No response

Are you willing to submit a pull request to fix on your own?

Code of Conduct

AlbumenJ commented 4 months ago

Add <dubbo:protocol name="tri"/> and try it