This is a theoretical question. I have not seen this behavior but wanted to know if it was possible.
If consumer.poll() returns EMPTY, does that always mean no records are currently available? In other words, let's say there are some records in a partition. Could poll() return EMPTY if there was a network problem that caused it to timeout before it could return that record? Mark