alibaba / alibaba/Sentinel

接入独立模式的集群流控,需要限流的客户端对应的token server列表这几列都是空的

Open
#2,977 1 comment 0 reactions 0 assignees View on GitHub
area/cluster-flow kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description
使用的Sentinel版本是1.7.0 JDK1.8 Springboot2.7.6 Zookeeper3.4.5
接入集群流控依赖的三个包sentinel-cluster-common-default、sentinel-cluster-server-default、sentinel-cluster-client-default

出现的问题如下图:
![image](https://user-images.githubusercontent.com/1266996/204289278-52773cb0-21f8-4409-b405-77cd39d27132.png)

**Token Server端的代码如下:**
![image](https://user-images.githubusercontent.com/1266996/204289505-93038bfb-444c-43f9-b6ef-ce94faa3a275.png)
![image](https://user-images.githubusercontent.com/1266996/204289713-6036a137-57dd-4123-8b98-593f95ad922c.png)

**Token Client(即first-boot)端的代码如下:**
![image](https://user-images.githubusercontent.com/1266996/204290554-3b8f03dd-806d-409a-ad3d-50b39b5cbab9.png)
![image](https://user-images.githubusercontent.com/1266996/204290667-6cfc7d56-ad87-47b6-8a03-1ec4e82c7e06.png)

Type: *bug report* or *feature request*

### Describe what happened (or what feature you want)

### Describe what you expected to happen

### How to reproduce it (as minimally and precisely as possible)

1.
2.
3.

### Tell us your environment

### Anything else we need to know?
目前项目中使用到的sentinel的单机流控是正常的

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.