apache / apache/dubbo-admin

dubbo-admin 标签路由功能,

Open
#918 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.1k
Forks
2.2k
Avg merge
10d 12h
Merged PRs (30d)
4

Description

- [ ] I have searched the [issues](https://github.com/apache/dubbo-admin/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [REAMDE](https://github.com/apache/dubbo-admin/blob/develop/README.md) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo Admin version: 0.4.0
* Dubbo version :3.x
* Registry center detail (type and version): Nacos2.1.1
* Operating System version: macOs
* Java version: jdk1.8
*
### Steps to reproduce this issue

1. 新建标签规则,如下
![image](https://user-images.githubusercontent.com/35129699/187881851-707d1fdd-014d-4307-b352-00778b2c4ba1.png)

2. 消费端没有指定任何tag,但是在调用的时候,请求一直往一台实例发。理论上应该我在程序里面携带tag才可以发送到指定的实例。开始以为是我规则没有生效 ,我禁用这条规则以后,请求回到默认的随机轮训,这个正常,所以证明这条规则是生效的,只是没有按照预期生效,因为我程序中根本没有配置对应的tag

Pls. provide [GitHub address] to reproduce this issue.

### Expected Result

What do you expected from the above steps?

### Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

```
Just put your stack trace here!
```

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the tag-rule behavior with Dubbo Admin 0.4.0, Dubbo 3.x, and Nacos 2.1.1 using the reported steps, then compare calls from consumers with and without a tag. Done means the routing behavior is consistent with the rule and the regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.