Skip to content

Commit c5b9057

Browse files
Meggielqkterry-xiaoyu
authored andcommitted
update(username quota): Update Manage Username Quota
1 parent 12540d6 commit c5b9057

File tree

8 files changed

+35
-9
lines changed

8 files changed

+35
-9
lines changed
-621 KB
Binary file not shown.
191 KB
Loading

en_US/modules/username_quota.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,31 @@ When a username exceeds its quota, new session connections will be rejected, and
2020

2121
5. Click **Add** to complete the settings.
2222

23-
![user-quota-create](./assets/user-quota-create-en.png)
23+
![user-quota-create](./assets/username-quota-create-en.png)
2424

2525
## Manage Username Quota
2626

2727
On the Modules page, navigate to the **Username Quota** module you have added. Click **Manage** on the right.
2828

29-
On the **Usage** tab, you can view the current usernames in the EMQX cluster and the number of sessions used for each username. By clicking the **View** button next to the session count, you can see the session list for the selected username.
29+
![user-quota-usage](./assets/username-quota-usage-en.png)
3030

31-
On the **Configuration** tab, you can edit the configuration of the username quota limits. To delete the module, click **Delete** in the upper right corner.
31+
### View Username Sessions
3232

33-
![user-quota-usage](./assets/user-quota-usage-en.png)
33+
Under the **Usage** tab, you can view all active usernames in the EMQX cluster along with the number of active sessions for each.
34+
35+
- Click **View** next to a username to see detailed session information.
36+
- Click **Disconnect All Sessions** to forcibly disconnect all client sessions associated with that username.
37+
- To sort the list by the number of sessions, toggle the **Sort** switch next to **Number of Sessions**.
38+
39+
If you want to sort the username and session list by number of sessions, you can click the **Sort** button next to the **Number of Sessions**.
40+
41+
### Configure Quota Limits
42+
43+
Go to the **Configuration** tab to edit the session limit settings for MQTT usernames. This allows you to control how many concurrent sessions are permitted per username.
44+
45+
### Delete Username Quota Module
46+
47+
To remove the Username Quota module, click **Delete** in the top-right corner of the page.
3448

3549
## HTTP API
3650

-609 KB
Binary file not shown.
188 KB
Loading

zh_CN/modules/username_quota.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,29 @@
1616

1717
5. 点击**添加**完成设置。
1818

19-
![user-quota-create](./assets/user-quota-create-zh.png)
19+
![user-quota-create](./assets/username-quota-create-zh.png)
2020

2121
## 管理用户名配额
2222

23-
在模块页面,找到您已添加的**用户名配额限制**模块。点击右侧的**管理**
23+
**模块**页面中,找到您已添加的**用户名配额限制**模块。点击右侧的**管理**
2424

25-
**使用详情**标签页,您可以看到 EMQX 集群中的当前用户名及其使用的会话数。点击会话数旁边的**查看**按钮,可以查看当前用户名的会话列表。
25+
![user-quota-usage](./assets/username-quota-usage-zh.png)
2626

27-
点击**参数设置**标签页,您可以编辑用户名配额限制的设置。点击右上角的**删除**可以删除模块。
27+
### 查看使用详情
2828

29-
![user-quota-usage](./assets/user-quota-usage-zh.png)
29+
**使用详情**标签页,您可以看到 EMQX 集群中的当前用户名及其使用的会话数。
30+
31+
- 点击会话数右侧的**查看**按钮,可以查看当前用户名的会话列表。
32+
- 点击**断开所有会话**按钮,可强制断开该用户名下的所有客户端连接。
33+
- 若需按会话数量排序用户名列表,可打开**会话数**旁边的**排序**开关。
34+
35+
### 配置配额限制
36+
37+
点击**参数设置**标签页,您可以编辑用户名会话配额限制的设置。你可以通过此配置控制每个用户名允许的并发会话数。
38+
39+
### 删除用户名配额模块
40+
41+
如需删除**用户名配额** 模块,点击页面右上角的**删除**按钮。
3042

3143
## HTTP API
3244

0 commit comments

Comments
 (0)