itzzit opened a new issue #258:
URL: https://github.com/apache/dubbo-js/issues/258
能否支持dubbo3.0版本,我本地调用一直超时,是不是版本问题呢
const demoProvider = (dubbo) => dubbo.proxyService({
dubboInterface: 'com.pupu.property.api.IDubboDemoApi',
version: "1.0.0",
methods: {
hello(hello: string) {
return [
java.String(hello)
]
},
},
})
const setting = dubboSetting
.match(
'com.pupu.property.api.IDubboDemoApi',
{
version: '1.0.0',
group:"DEFAULT_GROUP",
},
)
const service = {
demoProvider
}
const dubbo = new Dubbo<typeof service>({
registry: Nacos({
connect: "192.168.31.239:8848",
namespace: "public",
logger: console,
}),
services: service,
application: { name: 'dubbo-js' },
dubboSetting: setting,
dubboVersion: "3.0.3",
dubboInvokeTimeout: 100000,
})
export default dubbo
--
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]