kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Horton <m...@nostromo.net>
Subject poll() question
Date Mon, 04 Feb 2019 17:27:17 GMT
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

Mime
View raw message