Guozhang
Thanks for the explanation !!
Mansi.
Sent from my iPhone
> On Mar 5, 2016, at 3:38 PM, Guozhang Wang wrote:
>
> Guozhang
Hi Mansi,
1) subscribe is a lazy call: only the subsequent poll() will do the leg
work of talking to broker, registering the subscription, getting assigned
partitions and issuing fetch requests to the partition leaders.
2) currently the timeout value for poll() does not count for the time
elapsed
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 this