Closing connection

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

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
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
kafka, python
Lĩnh vực
stream-processing

Hướng nghiên cứu

The report sets consumer_auto_offset_reset and broker_heartbeat_interval on a Faust App and then describes a consumer that stops after about a day, with a 'Closing connection' message in the logs. The payload names no source files, so start by reproducing with a minimal app that uses those two settings and a Kafka broker, then trace where the broker connection is closed and why consumption never resumes. Done means the consumer keeps processing messages past the failure point, with a regression test for the reconnect path.

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

Mô tả

Steps to reproduce

app = App(topic_name, broker)
app.conf.consumer_auto_offset_reset = "latest" # earliest latest
app.conf.broker_heartbeat_interval = 60
topic = app.topic(topic_name)
Appears approximately one day after starting Faust Timer Recovery.stats woke up too late and Closing connection
And then Faus seems to have been dead and won't consume any more news

image


# Versions

* Python version 3.9
* Faust version faust-streaming==0.10.21
* Operating system
* Kafka version
* RocksDB version (if applicable)

Ngôn ngữ chính
Python
Star
1.9k
Fork
205
Merge trung bình
2 giờ 2 phút
Pull request đã merge (30 ngày)
1

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 faust-streaming/faust

Tất cả issue của faust-streaming/faust

Issue tương tự

Thêm issue về Python

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.