Closing connection

Aperta
#603 0 commenti 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
Da chiarire
Stato di attività
Ferma
Stack tecnologico
kafka, python

Direzione di ricerca

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.

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

Descrizione

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)

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.