You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/09/23 03:33:05 UTC

[GitHub] [rocketmq] niushihao opened a new issue, #5173: heartbeat question

niushihao opened a new issue, #5173:
URL: https://github.com/apache/rocketmq/issues/5173

   What is the purpose of producers and consumers sending heartbeats to brokers through timed tasks?
   
   Because I have seen that IdleStateHandler based on netty has been used, and I have not seen what to do after the heartbeat based on scheduled tasks fails.
   
   
   ![image](https://user-images.githubusercontent.com/16152296/191887274-b41bcc1b-8b38-4874-969b-255ad6e4a6c3.png)
   


-- 
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: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhanhui commented on issue #5173: heartbeat question

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #5173:
URL: https://github.com/apache/rocketmq/issues/5173#issuecomment-1255987520

   The rationale is two-fold:
   1, From the management perspective, we need to keep the connections alive to know the survival clients. Without this knowledge, a lot of administrative actions will not be possible.
   2, Load balancing algorithm adopted by RocketMQ depends on alive consumers of a specific group. 


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhanhui closed issue #5173: heartbeat question

Posted by GitBox <gi...@apache.org>.
lizhanhui closed issue #5173: heartbeat question
URL: https://github.com/apache/rocketmq/issues/5173


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] niushihao commented on issue #5173: heartbeat question

Posted by GitBox <gi...@apache.org>.
niushihao commented on issue #5173:
URL: https://github.com/apache/rocketmq/issues/5173#issuecomment-1260418844

   Since the custom heartbeat task is very important, is it possible to remove the IdleStateHandler, I am confused about using these two at the same time


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] niushihao commented on issue #5173: heartbeat question

Posted by GitBox <gi...@apache.org>.
niushihao commented on issue #5173:
URL: https://github.com/apache/rocketmq/issues/5173#issuecomment-1255766153

   version:4.6.0


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org