Re: Session timeout and heartbeat interval

2016-02-08 Thread Jason Gustafson
Hey Jens, The heartbeat response is used by the coordinator to tell group members that the group needs to rebalance. For example, if a new member joins the consumer group, then the coordinator will wait for the heartbeat from each member and set a REBALANCE_NEEDED error code in the response. Hence

Re: Session timeout and heartbeat interval

2016-02-08 Thread Jens Rantil
Hi again, A somewhat related question is also how the heartbeat interval and session timeout relates to the poll timeout. Must the poll timeout always be lower than the heartbeat interval? Cheers, Jens On Monday, February 8, 2016, Jens Rantil wrote: > Hi, > > I am trying to wrap my head around

Session timeout and heartbeat interval

2016-02-08 Thread Jens Rantil
Hi, I am trying to wrap my head around the difference between " session.timeout.ms" and "heartbeat.interval.ms". Clearly they are somewhat tied to the same logic since heartbeat value should be less than 1/3 of the session timeout. Let me add some specific questions: - Will a session be consi