Does Faust Streaming Consumer retry the offset commit if it fails?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- kafka, python
Línea de trabajo
The issue asks whether Faust's consumer retries a failed offset commit after an UnknownTopicOrPartitionError during broker rotation, and whether that can cause re-reads or message loss. Search the codebase for the logged text 'OffsetCommit failed' to find where commit errors are handled, then trace what happens to the offset after that error. Done means the retry and redelivery behaviour is confirmed in code and answered in the thread, ideally with a test or docs note; the thread has had no comment in about 940 days, so confirm with a maintainer first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Checklist
- I have included information about relevant versions
- I have verified that the issue persists when using the
masterbranch of Faust.
Steps to reproduce
N/A
Expected behavior
After investigating my consumer logs I found out the following error:
[ERROR] OffsetCommit failed for group gaming-processor on partition TopicPartition(topic='my_topic', partition=3) with offset OffsetAndMetadata(offset=29426192, metadata=''): UnknownTopicOrPartitionError
This error occurred when my kafka broker leader pod on GKE was rotating. I think this error is expected while rebalancing is occurring my question is if the application is going to retry to commit this offset again or will it only commit the next offset in the next commit wave? Additionally I would like to know if this can cause the consumer to re-read older messages that were already consumed or to lose any message that wasn't yet consumed.
Actual behavior
N/A
Full traceback
N/A
Versions
- Python version = 3.12
- Faust version = 0.10.11
- Operating system = UNIX
- Kafka version = 3.4
- RocksDB version =
N/A
- Lenguaje dominante
- Python
- Estrellas
- 1.9k
- Forks
- 205
- Merge medio
- 2 h 2 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de faust-streaming/faust
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
faust-streaming/faust#804 ·
-
scripts/install script forces use of ./venv virtualenv, impossible to use with virtualenvwrapperAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
faust-streaming/faust#28 · 1 comentario ·
-
[BUG] SASL PLAINTEXT producer initialization fails : missing sasl_plain_username/passwordPosiblemente ocupada @wbarnha la tomó hace 56 días. Abierto
faust-streaming/faust#794 · 2 comentarios · 1 reacción · 2 asignados ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
faust-streaming/faust#670 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
faust-streaming/faust#666 ·
Todos los issues de faust-streaming/faust
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
OpenFreeEnergy/openfe#2371 ·
Los mantenedores suelen responder en 2 días
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
NCATSTranslator/Babel#1269 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
404 on sample dataAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100