Add a limit to fetch buffer size, and actually retry requests when fetch size is too small
Add a limit to fetch buffer size, and actually retry requests when fetch size is too small

Note: This can cause fetching a message to exceed a given timeout, but timeouts are not guaranteed anyways, and in this case it's the client's fault for not sending a big enough buffer size rather than the kafka server. This can be bad if max_fetch_size is None (no limit) and there is some message in Kafka that is crazy huge, but that is why we should have some max_fetch_size.

trbs/kafka-python,mutability/kafka-python,ecanzonieri/kafka-python,xiaosl/kafka-python,jessamynsmith/kafka-python,rdiomar/kafka-python,vshlapakov/kafka-python,DataDog/kafka-python,jerluc/kafka-python,zackdever/kafka-python,agoragames/kafka-python,scrapinghub/kafka-python,vadimg/kafka-python,oscarhealth/kafka-python,zackdever/kafka-python,xiaosl/kafka-python,saaros/kafka-python,saaros/kafka-python,KetsuN/kafka-python,coldeasy/kafka-python,grue/kafka-python,gamechanger/kafka-python,reAsOn2010/kafka-python,barricadeio/kafka-python,trbs/kafka-python,scrapinghub/kafka-python,barricadeio/kafka-python,maciejkula/kafka-python,grue/kafka-python,ohmu/kafka-python,nmandavia/kafka-python,Yelp/kafka-python,Aloomaio/kafka-python,ecanzonieri/kafka-python,docker-hub/kafka-python,mumrah/kafka-python,jerluc/kafka-python,docker-hub/kafka-python,CrowdStrike/kafka-python,oscarhealth/kafka-python,jessamynsmith/kafka-python,dpkp/kafka-python,hasScott/kafka-python,Yelp/kafka-python,wikimedia/operations-debs-python-kafka,gamechanger/kafka-python,mumrah/kafka-python,mutability/kafka-python,ianawilson/kafka-python,petteraas/kafka-python,cosbynator/kafka-python,wikimedia/operations-debs-python-kafka,dpkp/kafka-python,alexzhang2015/kafka-python,ianawilson/kafka-python,Livefyre/kafka-python,Aloomaio/kafka-python,dyv/kafka-python,KetsuN/kafka-python,coldeasy/kafka-python,CrowdStrike/kafka-python,ohmu/kafka-python,nmandavia/kafka-python,vshlapakov/kafka-python,Livefyre/kafka-python,dyv/kafka-python,reAsOn2010/kafka-python,alexzhang2015/kafka-python