You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/04/04 06:20:17 UTC

[inlong] branch master updated: [INLONG-7749][Dashboard] Support rate limit for pulsar mq mark-delete operation (#7779)

This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 11df340c6 [INLONG-7749][Dashboard] Support rate limit for pulsar mq mark-delete operation (#7779)
11df340c6 is described below

commit 11df340c69538255411c3ced5928cfc679e11b19
Author: Lizhen <88...@users.noreply.github.com>
AuthorDate: Tue Apr 4 14:20:10 2023 +0800

    [INLONG-7749][Dashboard] Support rate limit for pulsar mq mark-delete operation (#7779)
---
 inlong-dashboard/src/plugins/groups/defaults/Pulsar.ts | 12 ++++++++++++
 inlong-dashboard/src/ui/locales/cn.json                |  1 +
 inlong-dashboard/src/ui/locales/en.json                |  1 +
 3 files changed, 14 insertions(+)

diff --git a/inlong-dashboard/src/plugins/groups/defaults/Pulsar.ts b/inlong-dashboard/src/plugins/groups/defaults/Pulsar.ts
index 4ca89f804..1e0d52d2a 100644
--- a/inlong-dashboard/src/plugins/groups/defaults/Pulsar.ts
+++ b/inlong-dashboard/src/plugins/groups/defaults/Pulsar.ts
@@ -243,4 +243,16 @@ export default class PulsarGroup
   })
   @I18n('Retention Size')
   retentionSize: number;
+
+  @FieldDecorator({
+    type: 'inputnumber',
+    initialValue: 0,
+    extra: i18n.t('meta.Group.Pulsar.MaxMarkDeleteRateExtra'),
+    props: {
+      min: 0,
+      precision: 1,
+    },
+  })
+  @I18n('Max Mark Delete Rate')
+  maxMarkDeleteRate: number;
 }
diff --git a/inlong-dashboard/src/ui/locales/cn.json b/inlong-dashboard/src/ui/locales/cn.json
index 52dfae1ca..a6746deb5 100644
--- a/inlong-dashboard/src/ui/locales/cn.json
+++ b/inlong-dashboard/src/ui/locales/cn.json
@@ -377,6 +377,7 @@
   "meta.Group.Pulsar.RetentionTimeExtra": "处于ack状态的消息的保存时⻓,超过此值时消息会被删除(最多保留14天)",
   "meta.Group.Pulsar.TtlExtra": "消息的 time-to-live 时⻓,超过此值的消息会被标记为ack(最多保留14天)",
   "meta.Group.Pulsar.RetentionSizeExtra": "处于 ack 状态的消息容量,超过此值的消息会被删除(-1表示永不删除)",
+  "meta.Group.Pulsar.MaxMarkDeleteRateExtra": "标记删除操作的限制速率",
   "meta.Group.TubeMq.NumberOfAccess": "按天接入条数",
   "meta.Group.TubeMq.TenThousand/Day": "万条/天",
   "meta.Group.TubeMq.AccessSize": "按天接入大小",
diff --git a/inlong-dashboard/src/ui/locales/en.json b/inlong-dashboard/src/ui/locales/en.json
index 1f6814b3e..d0dd7beef 100644
--- a/inlong-dashboard/src/ui/locales/en.json
+++ b/inlong-dashboard/src/ui/locales/en.json
@@ -377,6 +377,7 @@
   "meta.Group.Pulsar.RetentionTimeExtra": "The save time of the message in the ack state, the message will be deleted when this value is exceeded (up to 14 days)",
   "meta.Group.Pulsar.TtlExtra": "The time-to-live time of the message, messages exceeding this value will be marked as ack (retained for up to 14 days)",
   "meta.Group.Pulsar.RetentionSizeExtra": "Message capacity in ack state, messages exceeding this value will be deleted (-1 means never delete)",
+  "meta.Group.Pulsar.MaxMarkDeleteRateExtra": "Rate limit for mark delete operations",
   "meta.Group.TubeMq.NumberOfAccess": "Number of Access",
   "meta.Group.TubeMq.TenThousand/Day": "Ten Thousand / Day",
   "meta.Group.TubeMq.AccessSize": "Access Size",