kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Himanshu Shukla <himanshushukla...@gmail.com>
Subject What happens if commit fails ?
Date Mon, 08 Jun 2020 12:27:12 GMT
Hi All,
Let's say, I pulled 100 messages batch from a consumer, and the topic has
300 more messages. Now my doubt it, after processing 10 out of 100
messages, my consumer application goes down and the application was not
able to commit the offset.

In the Given case, what will happen? As per my understanding, a new
consumer will be assigned for that partition and it will read these 100
messages again. Is this understanding correct? If yes, then we ended up
reprocessing these 10 messages.

-- 
Regards,
Himanshu Shukla

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message