THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- a poll loop which:
- calls consumer.poll
- process the received records
- commits offsets for the just processed records
- repeat
The big advantage of this approach is that is the simplest. This is also the only approach that could benefit from auto-commit.
However, this approach has the downside that asynchronous processing can not be used. Approach 2 does allow thisTherefore, we do not consider it further in this KIP.
Approach 2 - asynchronous processing
...