Hi Andrew and Kafka community,

I found an inconsistency in the KIP-932 documentation at:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=255070434

In the section "Example - Per-record acknowledgement, ending processing of the 
batch on an error (explicit acknowledgement)", the description says:

> "In this example, the application stops processing the batch when it 
> encounters an exception."

However, the example code does not include a break statement in the catch 
block, so it would continue processing the remaining records in the batch. This 
contradicts the description.

Current code (without break):
```java
catch (Exception e) {
    consumer.acknowledge(record, AcknowledgeType.REJECT);
}
```
Or if the code is correct, the description should be updated to reflect that 
processing continues after an error.

Best regards,

Huidong Yin


Reply via email to