mirror of
https://github.com/apache/rocketmq.git
synced 2026-10-30 18:44:38 +08:00
Fix DLQ can't be query sometimes
This commit is contained in:
@@ -341,7 +341,7 @@ public class SendMessageProcessor extends AbstractSendMessageProcessor implement
|
||||
int queueIdInt = Math.abs(this.random.nextInt() % 99999999) % DLQ_NUMS_PER_GROUP;
|
||||
topicConfig = this.brokerController.getTopicConfigManager().createTopicInSendMessageBackMethod(newTopic,
|
||||
DLQ_NUMS_PER_GROUP,
|
||||
PermName.PERM_WRITE, 0
|
||||
PermName.PERM_WRITE | PermName.PERM_READ, 0
|
||||
);
|
||||
msg.setTopic(newTopic);
|
||||
msg.setQueueId(queueIdInt);
|
||||
|
||||
Reference in New Issue
Block a user