I have installed a new HDP cluster(2.6.0) on Google cloud platform. It has Kafka version 0.10.1. I was following this MapR link to try out a simple Kafka example. The consumer and producer properties are mentioned as below:
# fast session timeout makes it more fun to play with failover
# These buffer sizes seem to be needed to avoid consumer switching to
# a mode where it processes one bufferful every 5 seconds with multiple
# timeouts along the way. No idea why this happens.