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.
-
我通过pushConsumer.unsubscribe()方法将一个主题的消息退订了,但是退订后我通过生产者继续产生该消息还是会收到消息。观察PushConsumerImpl的源码发现只是将主题的订阅关系从内部Map中移除,别的什么都没干,我试图继承PushConsumerImpl希望能通过重写startup,shutdown方法重启PushConsumer,但是PushConsumerImpl这个类的权限又是default的我无法继承重写。请教大佬我该怎么办呢?通过反射吗?还是说官方其实是有方法的呢?
Beta Was this translation helpful? Give feedback.
All reactions