From 554a6667086c1d5d13c234a452aa88739fa8855a Mon Sep 17 00:00:00 2001 From: cho Date: Fri, 6 Feb 2026 16:00:14 +0900 Subject: [PATCH] =?UTF-8?q?AlamKey=20=EA=B0=92(=EA=B0=99=EC=9D=80=EC=A2=85?= =?UTF-8?q?=EB=A5=98=20=EC=95=8C=EB=9E=8C)=EC=9D=B4=20=EA=B0=99=EB=8D=94?= =?UTF-8?q?=EB=9D=BC=EB=8F=84,=20message=20=EA=B0=80=20=EB=8B=A4=EB=A5=B4?= =?UTF-8?q?=EB=A9=B4=20=EB=94=B0=EB=A1=9C=20=EC=95=8C=EB=9E=8C=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 예시) CircuitBreaker 알람이라도, api에 따라 따로 알람 가야함. Timeout 알람이라도 같은 호스트가 아니면 따로 알람 가야함. --- .../java/com/eactive/eai/custom/alarm/event/AlarmEvent.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/eactive/eai/custom/alarm/event/AlarmEvent.java b/src/main/java/com/eactive/eai/custom/alarm/event/AlarmEvent.java index fa435b8..36f6d74 100644 --- a/src/main/java/com/eactive/eai/custom/alarm/event/AlarmEvent.java +++ b/src/main/java/com/eactive/eai/custom/alarm/event/AlarmEvent.java @@ -29,12 +29,13 @@ public class AlarmEvent { if (!(o instanceof AlarmEvent)) return false; AlarmEvent that = (AlarmEvent) o; - return Objects.equals(this.key, that.key); + return Objects.equals(this.key, that.key) + && Objects.equals(this.message, that.message); } @Override public int hashCode() { - return Objects.hash(key); + return Objects.hash(key, message); }