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] Message loss may occur during channel shutdown

Đang mở
#459 1 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
45/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
Lĩnh vực
backend

Hướng nghiên cứu

Start at SourceConnector.dispatchBatchMessage and how it reports an empty batch versus a channel that is shutting down. Trace callers that enable Process Batch (TCP, File, and others mentioned in the issue) and the shutdown path that cycles the channel. Done means every message either succeeds observably in the channel or fails explicitly, with no silent drop during shutdown. Reproduce by sending batches while another thread cycles the channel up and down.

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

Mô tả

bug

Describe the bug
SourceConnector.dispatchBatchMessage does not distinguish "channel is shutting down" vs "batch contained no messages" to callers, so messages may be silently lost during shutdown.

Caught by @gibson9583 in #453, but seems to affect all callers of dispatchBatchMessage (including TCP/File/... that has Process Batch enabled).

To Reproduce

  1. Repeatedly send batches
  2. On a separate thread, cycle the channel up and down

Expected behavior

  • Every message should succeed or fail
  • Successful messages should be observable in the channel

Actual behavior

  • Messages can fail silently and are not observable in the channel
Ngôn ngữ chính
Java
Star
227
Fork
81
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
15

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 OpenIntegrationEngine/engine

Tất cả issue của OpenIntegrationEngine/engine

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.