Consumer doesn't consume from some of its assigned partition

オープン
#471 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
kafka, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
1.9k
フォーク
205
平均マージ
2時間 2分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

faust-streaming/faust のほかの issue

faust-streaming/faust の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。