Would anyone know what is the implication of setting ackAfterHandle to false in Spring Kafka's DefaultErrorHandler?
Does it
- Essentially causes the application to be "stuck" and unable to move on to processing the next message, or
- Not commit the offset, but moves on to the offset after, which in essence skips the message that caused the error?
Intuitively, I would expect that if I set ackAfterHandle to false, it #1 is the expected behaviour, but my testing suggests it would #2 is a more accurate description of the behaviour.
If it is indeed #2, what is the point of ackAfterHandle given that regardless of whether it is true and false, in essence the error is discarded and subsequent messages processed?
Thanks!