-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[ospp] add push style collector #1222
Conversation
common/src/main/java/org/dromara/hertzbeat/common/entity/push/PushMetrics.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/dromara/hertzbeat/common/entity/push/PushMetricsDto.java
Outdated
Show resolved
Hide resolved
👍 |
push/src/main/java/org/dromara/hertzbeat/push/service/impl/PushServiceImpl.java
Outdated
Show resolved
Hide resolved
collector/src/main/java/org/dromara/hertzbeat/collector/collect/push/PushCollectImpl.java
Outdated
Show resolved
Hide resolved
已经按照上周tom哥说的要求大致修改了代码逻辑,数据库加了缓存,一些零碎的的todo也弄完了。 |
The code logic has been roughly modified according to the requirements mentioned by Tom last week, the database has been cached, and some fragmentary todos have been completed. |
上周讨论的时候郑哥和tom哥说过的,由于collectRep的time字段设计和abstractCollect接口设计,导致目前是没办法同时收集多条记录,所以才用了折中方案。这个如果之后考虑修改的话,也可以我继续把它做完,毕竟这部分代码我还是挺熟悉的。 |
Brother Zheng and Brother Tom said during the discussion last week that due to the time field design and abstractCollect interface design of collectRep, it is currently impossible to collect multiple records at the same time, so a compromise solution was used. If I consider modifying this later, I can continue to finish it. After all, I am quite familiar with this part of the code. |
done |
push/src/main/java/org/dromara/hertzbeat/push/service/impl/PushServiceImpl.java
Outdated
Show resolved
Hide resolved
push/src/main/java/org/dromara/hertzbeat/push/service/impl/PushServiceImpl.java
Outdated
Show resolved
Hide resolved
push/src/main/java/org/dromara/hertzbeat/push/service/impl/PushServiceImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍👍
What's changed?
add push style collector.
Checklist