This commit is contained in:
duyu 2024-09-13 18:06:37 +08:00
parent feef8c457b
commit 7069559121
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func WriteOrder() {
return
}
// 创建价格分组
var queue_nos = [...]int{-1, 10, 20, 50, 100, 1000}
var queue_nos = [...]int{-1, 10, 20, 50, 100, 1000, 10210, 10220, 10250, 102100, 1021000}
for _, value := range queue_nos {
err = rdbmq.CreateStreamAndGroup(fmt.Sprintf("orders_%d", value), fmt.Sprintf("orders_%d", value))
if err != nil && err.Error() != "BUSYGROUP Consumer Group name already exists" {