You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "Yelijah (via GitHub)" <gi...@apache.org> on 2025/07/10 14:41:00 UTC
[D] rocketmq5.x 如何为PushConsumer设置消费超时时间? [rocketmq]
GitHub user Yelijah created a discussion: rocketmq5.x 如何为PushConsumer设置消费超时时间?
如题,如此重要的参数,官方文档只字不提
GitHub link: https://github.com/apache/rocketmq/discussions/9536
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少? [rocketmq]
Posted by "zhishengzhang (via GitHub)" <gi...@apache.org>.
GitHub user zhishengzhang edited a comment on the discussion: rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少?
> /**
* Maximum amount of time in minutes a message may block the consuming thread.
*/
private long consumeTimeout = 15;
Please refer to the [link](https://github.com/apache/rocketmq/blob/develop/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java)
GitHub link: https://github.com/apache/rocketmq/discussions/9536#discussioncomment-15636583
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少? [rocketmq]
Posted by "zhishengzhang (via GitHub)" <gi...@apache.org>.
GitHub user zhishengzhang added a comment to the discussion: rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少?
/**
* Maximum amount of time in minutes a message may block the consuming thread.
*/
private long consumeTimeout = 15;[https://github.com/apache/rocketmq/blob/develop/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java](url)
GitHub link: https://github.com/apache/rocketmq/discussions/9536#discussioncomment-15636583
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少? [rocketmq]
Posted by "zhishengzhang (via GitHub)" <gi...@apache.org>.
GitHub user zhishengzhang edited a comment on the discussion: rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少?
> /**
* Maximum amount of time in minutes a message may block the consuming thread.
*/
private long consumeTimeout = 15;
Please refer to the [link](https://github.com/apache/rocketmq/blob/develop/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java)
GitHub link: https://github.com/apache/rocketmq/discussions/9536#discussioncomment-15636583
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少? [rocketmq]
Posted by "zhishengzhang (via GitHub)" <gi...@apache.org>.
GitHub user zhishengzhang edited a comment on the discussion: rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少?
> /**
* Maximum amount of time in minutes a message may block the consuming thread.
*/
private long consumeTimeout = 15;
Please refer to the [link](https://github.com/apache/rocketmq/blob/develop/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java)
GitHub link: https://github.com/apache/rocketmq/discussions/9536#discussioncomment-15636583
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少? [rocketmq]
Posted by "Yelijah (via GitHub)" <gi...@apache.org>.
GitHub user Yelijah edited a discussion: rocketmq5.x 如何为PushConsumer设置消费超时时间?默认超时时间是多少?
如题,如此重要的参数,官方文档只字不提
GitHub link: https://github.com/apache/rocketmq/discussions/9536
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org