Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Bug: Multiple notifications from multiple instances

Đang mở
#5,716 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, spring-boot

Hướng nghiên cứu

Start with spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/AbstractStatusChangeNotifier.java at the referenced line, then inspect how Hazelcast shares state between the two server instances. Confirm why each instance processes the same notification event and define completion as delivering one notification rather than one per instance.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello.

I've the latest SBA version deployed in production and I've 2 instances deployed for business continuity with Hazelcast configured to share the state across them.
Unfortunately, for what concerns notifications, I get them twice every time (one per instance, I assume).

My suspect on why this happens is because the state stored in https://github.com/codecentric/spring-boot-admin/blob/master/spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/AbstractStatusChangeNotifier.java#L39 is not shared across the instances, therefore each instance handles the events in isolation.

Ngôn ngữ chính
Java
Star
12.9k
Fork
3.1k
Merge trung bình
14 giờ 31 phút
Pull request đã merge (30 ngày)
69

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codecentric/spring-boot-admin

Tất cả issue của codecentric/spring-boot-admin

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.