Consumer doesn't consume from some of its assigned partition

Đang mở
#471 1 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
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
kafka, python

Hướng nghiên cứu

The report describes three Faust workers in one consumer group on a 12-partition topic, where only one worker consumes all four of its assigned partitions. The payload names no files or entry points, so start by reproducing it with a local Kafka and three workers, then compare the partition assignments each worker logs with the partitions it actually reads. Done means identifying why the other workers stop consuming from some partitions, with a test or reproduction script showing all assigned partitions consumed. The thread has had no comment in about three years and no maintainer answer, so expect to need project familiarity.

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

Mô tả

bug

Checklist

  • I have included information about relevant versions
  • I have verified that the issue persists when using the master branch of Faust.

Steps to reproduce

I have 3 faust workers of the same consumer group (same app's id). The group consume from multiple topics, one of them has 12 partitions. Each worker is correctly assigned 4 partitions.

Expected behavior

Each worker can consume messages from all 4 assigned partitions

Actual behavior

Only one worker can consume from all 4 partition, the other two workers are still running but do not consume from all of their partitions

image

image

Versions

  • Python version: 3.10.10
  • Faust streaming version: 0.8.11
  • Operating system: Debian GNU/Linux 11
  • Kafka version: 3.2.1
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.