that is possible. review the message delivery semantics section of the documentation for a complete discussion.
https://kafka.apache.org/documentation/#semantics On Mon, Jun 8, 2020, 8:27 AM Himanshu Shukla <himanshushukla...@gmail.com> wrote: > 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 >