Consumer doesn't consume from some of its assigned partition

Aperta
#471 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
kafka, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
1.9k
Fork
205
Merge medio
2h 2m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di faust-streaming/faust

Tutte le issue di faust-streaming/faust

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.