On Wed, Dec 23, 2015 at 1:24 AM, Gwen Shapira <g...@confluent.io> wrote:
> Given the background, it sounds like you'll generally want each call to > poll() to return the same number of events (which is the number you planned > on having enough memory / time for). It also sounds like tuning the number > of events will be closely tied to tuning the session timeout. That is - if > I choose to lower the session timeout for some reason, I will have to > modify the number of records returning too. > > If those assumptions are correct, I think a configuration makes more sense. > 1. We are unlikely to want this parameter to be change at the lifetime of > the consumer > 2. The correct value is tied to another configuration parameter, so they > will be controlled together. > I was thinking the same thing. Ismael