THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- a poll loop which:
- calls consumer.poll (note: rebalance listener might be called during poll)
- start processing received records
- commits offsets for records that completed processing
- repeat
- a rebalance listener. When partitions are revoked it:
- waits (blocking) until processing of all consumed records (from revoked partitions) has completed
- when the poll-loop commits (1.c.) were async, wait for these commits to complete
- synchronously commits offsets for records that completed processing
...