The real Spring Boot app (OrderListener, 50 ms of work per record, max.poll.records=20). 200 records on one partition. Close the context after >= 25 records were processed. pod A: context.close() took ~740 ms; processed=40; committed offset=40 pod B (same group): processed=160 until lag=0 records processed twice across A and B: 0 Spring's container finished the in-flight batch and committed it before stopping.