Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]增加Truncate数据功能(didi#1043) #1062

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Conversation

zhugezifang
Copy link
Contributor

增加Truncate数据功能(#1043)

目前已经完成后端部分,前端待补充

@ZQKC ZQKC self-requested a review June 26, 2023 11:50
Copy link
Collaborator

@ZQKC ZQKC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

除了代码中评论的问题之外,还要增加一个版本控制信息(必须),增加一个权限点(可选)

版本控制信息(必须补充):
1、版本控制信息参看代码:com.xiaojukeji.know.streaming.km.core.service.version.fe.FrontEndControlVersionItems,相当于在这个类itemList中,增加一个对象,说明一下records清理,支持那个版本到哪一个版本的kafka。增加这个信息的目的是为了前端能够依据这个信息,来控制清理数据的按钮在哪些版本的kafka上能够显示。

权限点(可选补充):
1、权限点代码参看:
参看 src/main/resources/sql/dml-logi.sql 这个sql文件即可,如果不是很清楚,也可以后续再进行补充。这个权限点的作用,就是可以控制那些人有权限操作这个按钮。

@ZQKC ZQKC merged commit c2bc0f7 into didi:master Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants