hyperf / hyperf

🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.

Home Page:https://www.hyperf.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION] hyperf/amqp 如何根据场景 ID 或者 UID 这种来动态创建队列

iMactool opened this issue · comments

Before you submit an issue, please be sure to search through existing issues as well as search through the documentation

  • [] I've searched all existing issues
  • [] I've read all relevant documentation I could find

Describe your question

有一个比较耗时的切片队列。每个用户都可以创建很多个切片,每个切片耗时不等(几秒甚至几十分钟),如果只是[QOS 配置+ nums]这种,如果用户不多和切片不多的时候,只要prefetch_count和 nums足够大,也没有太大的问题。但是这种情况下肯定不适合。有没有什么栗子啊。