Hi,
Is it correct that out of all the consumer api calls, only poll does any real
activity?
Is it safe to assume that poll(0) will only fetch metadata, but will not have
time to get any response on select, returning an empty list of consumerRecords?
Excepting of course the case of thread being
Guozhang
Thanks for the explanation !!
Mansi.
Sent from my iPhone
> On Mar 5, 2016, at 3:38 PM, Guozhang Wang wrote:
>
> Guozhang
elapsed for coordination, but only for fetching requests; that said, if
this poll(0) is the first EVER poll() function call then it should not
return anything as it will only trigger the underlying NIO selector once;
i.e. pre-fetch will not be triggered yet.
Guozhang
On Fri, Mar 4, 2016 at 4:22 PM
Hi,
I had a question around expected behavior / API expectations.
Is subscribe a lazy call? What I mean by that is if I subscribe to a topic and
then call poll(0), then is this first poll guaranteed to never return data?
Will the data pre-fetch not start as soon as subscribe is called? Is