Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.x启动Broker+Proxy 命令,希望有win版本的,另外任意时间精度的延时,最大延时时间的完整配置,没在文档中找到 #7459

Closed
2 tasks
lb-zy opened this issue Oct 13, 2023 · 12 comments

Comments

@lb-zy
Copy link

lb-zy commented Oct 13, 2023

Search before creation

  • I had searched in the issues and found no similar issues.

Documentation Related

错误信息:
org.apache.rocketmq.client.exception.MQBrokerException: CODE: 13 DESC: timer message illegal, the delay time should not be bigger than the max delay 259200000ms; or if set del msg, the delay time should be bigger than the current time BROKER:

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@leizhiyuan
Copy link
Contributor

set
timerMaxDelaySec in broker.conf

@drpmma
Copy link
Contributor

drpmma commented Oct 27, 2023

maxDelayTimeMills in ProxyConfig

@drpmma drpmma closed this as completed Oct 27, 2023
@drpmma drpmma reopened this Oct 27, 2023
@lb-zy
Copy link
Author

lb-zy commented Oct 27, 2023

I'll try it all,thank you

@lb-zy lb-zy closed this as completed Oct 27, 2023
@cyao2q
Copy link

cyao2q commented Dec 1, 2023

maxDelayTimeMills in ProxyConfig

image
请问这2个配置都要配置吗 我看默认 proxy的启动日志是1天 "maxDelayTimeMills":86400000

@lb-zy
Copy link
Author

lb-zy commented Dec 1, 2023

我只在broker.conf里配置了,就没报这个错:
brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime = 720
timerMaxDelaySec = 2592000
brokerRole = ASYNC_MASTER
flushDiskType = ASYNC_FLUSH

@cyao2q
Copy link

cyao2q commented Dec 1, 2023

我只在broker.conf里配置了,就没报这个错: brokerClusterName = DefaultCluster brokerName = broker-a brokerId = 0 deleteWhen = 04 fileReservedTime = 720 timerMaxDelaySec = 2592000 brokerRole = ASYNC_MASTER flushDiskType = ASYNC_FLUSH
你这是30天?
fileReservedTime这个是什么意思啊 默认是 48 需要改吗

@lb-zy
Copy link
Author

lb-zy commented Dec 1, 2023

我只在broker.conf里配置了,就没报这个错: brokerClusterName = DefaultCluster brokerName = broker-a brokerId = 0 deleteWhen = 04 fileReservedTime = 720 timerMaxDelaySec = 2592000 brokerRole = ASYNC_MASTER flushDiskType = ASYNC_FLUSH
你这是30天?
fileReservedTime这个是什么意思啊 默认是 48 需要改吗

image
其实这个参数,我也不确定,默认是48小时,如果延时消息超过48小时,会不会也被清理

@cyao2q
Copy link

cyao2q commented Dec 1, 2023

我只在broker.conf里配置了,就没报这个错: brokerClusterName = DefaultCluster brokerName = broker-a brokerId = 0 deleteWhen = 04 fileReservedTime = 720 timerMaxDelaySec = 2592000 brokerRole = ASYNC_MASTER flushDiskType = ASYNC_FLUSH
你这是30天?
fileReservedTime这个是什么意思啊 默认是 48 需要改吗

image 其实这个参数,我也不确定,默认是48小时,如果延时消息超过48小时,会不会也被清理

我现在不清楚是否正常了 发的延时消息也看不到 我简单试试吧

@yiduwangkai
Copy link
Contributor

set timerMaxDelaySec in broker.conf

这个参数改不了,代码里面没有调用

@yiduwangkai
Copy link
Contributor

set timerMaxDelaySec in broker.conf

这个参数改不了,代码里面没有调用

可以改,说错了

@marksmansj
Copy link

我只在broker.conf里配置了,就没报这个错: brokerClusterName = DefaultCluster brokerName = broker-a brokerId = 0 deleteWhen = 04 fileReservedTime = 720 timerMaxDelaySec = 2592000 brokerRole = ASYNC_MASTER flushDiskType = ASYNC_FLUSH

您好,请问你有用到proxy 的路由功能么?例如我有两个idc1、idc2,我希望idc2的mq集群作为idc1 mq集群的热备,然后通过proxy 路由实现idc1 应用访问idc1的mq集群,idc2的应用访问idc2 mq集群。

@lb-zy
Copy link
Author

lb-zy commented Apr 30, 2024

我只在broker.conf里配置了,就没报这个错: brokerClusterName = DefaultCluster brokerName = broker-a brokerId = 0 deleteWhen = 04 fileReservedTime = 720 timerMaxDelaySec = 2592000 brokerRole = ASYNC_MASTER flushDiskType = ASYNC_FLUSH

您好,请问你有用到proxy 的路由功能么?例如我有两个idc1、idc2,我希望idc2的mq集群作为idc1 mq集群的热备,然后通过proxy 路由实现idc1 应用访问idc1的mq集群,idc2的应用访问idc2 mq集群。

看了你的描述,我应该是没用到你说的路由功能的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants