RivenSun2 commented on pull request #11340: URL: https://github.com/apache/kafka/pull/11340#issuecomment-949189579
@guozhangwang @showuon and @hachikuji Thank you for paying so much attention to this issue and giving a lot of valuable discussions. > Hence it occurs to me that, the best effort for now could be that we still do not block for longer than the poll timeout --- i.e. we may even return early --- but we do not give up the commit either, and hence here async commit where could be potentially completed across multiple poll calls would be reasonable. After thinking about it, I think this is indeed a good solution in the short term. If the rebalance protocol can be separated from the poll thread later, it will make the poll method more pure (only poll message from cache or send fetch request). This is a very challenging task, and a new thread may be introduced. Or you can combine heartbeat threads to try to achieve separation. Thank you for the long-term active discussion. I also hope that the Kafka project will develop better and better. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org