Questions tagged [apache-dubbo]

Apache Dubbo is a high-performance, java based open source RPC framework.

Apache Dubbo (incubating) |ˈdʌbəʊ| is a high-performance, light weight, java based RPC framework. Dubbo offers three key functionalities, which include interface based remote call, fault tolerance & load balancing, and automatic service registration & discovery.

See the official page: https://dubbo.apache.org.

14 questions
2
votes
0 answers

how to specify a consumer for a specific dubbo service?

I am trying to run a online Spring Boot project locally. When I was calling an RPC service, sometimes the request was executed in another machine because of loadbalance. How to specify a consumer for a specific dubbo service? The dubbo config for…
Koko
  • 75
  • 5
2
votes
0 answers

After Dubbo upgrade 3.0, the consumer can't connect with the provider through zookeeper

My project used to be dubb2.7.8, but now because of the high-risk vulnerability in the current version, the company asked to upgrade to 3.0. However, after upgrading, I found that the consumer could not establish a link with the provider, and the…
yuxin.hang
  • 21
  • 3
2
votes
2 answers

Why dubbo provider always registers to a wrong address?

I am running a sample of dubbo and the provider register to 192.168.1.100. I have change the /etc/hosts to nameserver and test it successfully. But when I start the provider it always register to the wrong address. But the log shows that zk host is…
Yang Zhou
  • 21
  • 3
1
vote
0 answers

Is Nacos registry suitable for the registration of Dubbo 2.x?

There is a feature of Nacos which make me feel confused while studying Nacos these days. it is single Nacos node in Nacos cluster will always hold full data. It can be easy when our project use Spring Cloud and Feign for communication between our…
uuuyuqi
  • 11
  • 1
1
vote
0 answers

Failed to meta-introspect annotation interface org.springframework.web.bind.annotation

error message 21:13:46,666 DEBUG AnnotationUtils:1889 - Failed to meta-introspect annotation interface org.springframework.web.bind.annotation.RequestBody: java.lang.NullPointerException com.alibaba.dubbo.rpc.RpcException: No provider available from…
arutoria
  • 31
  • 1
  • 5
1
vote
2 answers

Does dubbo thread model init the fixed number of threads at start time?

A part of my dubbo configuration file: According to dubbo documentation the config above means A fixed size of thread pool and it creates threads when starts, never…
DanteLord
  • 35
  • 3
0
votes
0 answers

dubbo use fastjson2 Serialize error autotype not support

java.io.IOException: org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: auotype not support when provider return a generics dto,the server throw this exception when I use dubbo 3.2.5, find this problem,how…
0
votes
0 answers

How do I use annotations to configure timeout for methods in Dubbo

At the beginning of learning Dubbo,as follow.Configure this parameter in the service,but it doesn't start,the following information is displayed during startup. An attempt to search the relevant website failed to find the answer. /** * @author…
0
votes
1 answer

why dubbo provider retries configuration ineffective?

dubbo version:2.7.14 spring cloud && nacos 2.0.3 for registration center I set dubbo.provider.retries=0 in application.yml, and when it registers to nacos, seems that the configuration is effetive. But when the consumer invoke one of the methods,…
Shuai Jia
  • 11
  • 5
0
votes
0 answers

idea cant find xml, but The XML file is right here

enter image description here Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring-provider.xml]; nested exception is…
egoist
  • 1
0
votes
1 answer

Cannot resolve org.springframework.boot:spring-boot-autoconfigure:2.6.1 springboot | dubbo

When I used maven to import the jar package of dubbo-spring-boot-start, the following error occurred: [INFO] Validation error: [ERROR] org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for…
ganlana
  • 98
  • 1
  • 2
  • 5
0
votes
1 answer

How to set dubbo serialization on consumer side?

For my dubbo based system, I use the API configuration as described here: https://dubbo.apache.org/en/docs/v2.7/user/configuration/api/ Now if I want to set e.g. kryo serialization on the provider side, I can easily do so when configuring the…
schneebuzz
  • 348
  • 1
  • 2
  • 10
0
votes
3 answers

Dubbo service startup error:Error creating bean with name 'userServiceImpl' nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException

I configured dubbo, using the registry zookeeper, when I start the service, I get an error. I modified the timeout to 10000 and the error has not changed. I turned off the firewall in the virtual machine and the error has not changed. I checked the…
jkwgq
  • 1
0
votes
1 answer

Using Dubbo in spring boot encountered "no provider available from registration"

This problem arises when consumers want to get the zookeeper value of the local Linux virtual machine I used Springboot 2.1,Zookeeper is on the local Linux virtual machine. I've seen a very close answer, but I don't know how to set it up. The…