Skip to content

Commit

Permalink
feat(backend): kafka支持消费组延迟自定义条件 #3685
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 authored and iSecloud committed Mar 25, 2024
1 parent b531feb commit 5da1a52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@
{
"key": "consumergroup",
"value": [
"gsin"
],
"method": "eq",
"condition": "and",
Expand All @@ -281,7 +280,6 @@
{
"key": "topic",
"value": [
"sinsin"
],
"method": "eq",
"condition": "and",
Expand Down
2 changes: 1 addition & 1 deletion dbm-ui/backend/db_periodic_task/local_tasks/db_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def sync_plat_monitor_policy():
dirs.remove(skip_dir)

for alarm_tpl in files:
with open(os.path.join(root, alarm_tpl), "r") as f:
with open(os.path.join(root, alarm_tpl), "r", encoding="utf-8") as f:
try:
template_dict = json.loads(f.read())
policy_name = template_dict["name"]
Expand Down

0 comments on commit 5da1a52

Please sign in to comment.