Reputation: 9702
I get above exception in my consumer with kafka 0.9.0.1.According to this thread[1] i do not see the "group.max.session.timeout.ms" property in the server.properties file.
org.apache.kafka.common.errors.ApiException: The session timeout is not within an acceptable range
Any clue?
[1]http://comments.gmane.org/gmane.comp.apache.kafka.user/12426
Upvotes: 1
Views: 5994
Reputation: 2322
There is a server-side config in kafka that restricts the maximum timeout value:
group.max.session.timeout.ms
The default value is 30000ms if it is not set.
This is located in "/config/server.properties".
Set it to a higher value than your consumers timeout and you will be fine.
Upvotes: 4