You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
一个SimpleConsumerImpl同时订阅了多个topic,查看源码发现,每次receive只是拉取一个主题的消息,多个主题的话得依靠多线程去拉取才能保证并行度。

想要实现多租户的话,需要设置多个topic,但是这样肯定会占用大量消费者线程。如何解决呢?
Beta Was this translation helpful? Give feedback.
All reactions