apache/dubbo

the Configuration `Cluster` and `retries` on `<dubbo:service/>` doesn't work

Open

#15,668 创建于 2025年9月3日

在 GitHub 查看
 (6 评论) (0 反应) (1 负责人)Java (26,453 fork)batch import
help wanted

仓库指标

Star
 (41,524 star)
PR 合并指标
 (平均合并 7天 14小时) (30 天内合并 20 个 PR)

描述

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

Based on the official doc, we can set cluster and retries on the provider side <dubbo:service/>.

But it doesn't work when I set them on the provider side. The consumer is still using the default failover cluster. Is this feature still functional?

Steps to reproduce this issue

Add cluster or retries to the privder service.

What you expected to happen

<dubbo:service cluster="failsafe" /> shoud work

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

贡献者指南