[
https://issues.apache.org/jira/browse/EAGLE-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040360#comment-16040360
]
ASF GitHub Bot commented on EAGLE-1038:
---------------------------------------
Github user asdf2014 commented on a diff in the pull request:
https://github.com/apache/eagle/pull/944#discussion_r120549413
--- Diff:
eagle-core/eagle-alert-parent/eagle-alert/alert-common/src/main/java/org/apache/eagle/alert/engine/model/AlertStreamEvent.java
---
@@ -39,6 +39,7 @@
private long createdTime;
private String category;
private AlertSeverity severity = AlertSeverity.WARNING;
+ private boolean duplicationChecked = false;
--- End diff --
Just using `private boolean duplicationChecked;` is fine, because the
default value of `boolean` in jdk is false.
> Support alertDuplication customization for each policy
> -------------------------------------------------------
>
> Key: EAGLE-1038
> URL: https://issues.apache.org/jira/browse/EAGLE-1038
> Project: Eagle
> Issue Type: Sub-task
> Affects Versions: v0.6.0
> Reporter: Zhao, Qingwen
> Assignee: Zhao, Qingwen
>
> Requirements
> * compatible with old versions
> * enable alertDuplication check for each policy
> * optimize DefaultDeduplicator
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)