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
-
有个地方代码没太看懂
在com.ctrip.framework.apollo.biz.message.ReleaseMessageScanner.java:182行,listener.handleMessage(message, Topics.APOLLO_RELEASE_TOPIC);
这里将Topics.APOLLO_RELEASE_TOPIC作为参数传递。
但是在具体的实现里面,又将该参数进行判断,比如在
com.ctrip.framework.apollo.configservice.controller.NotificationControllerV2:268行,又判断必须是Topics.APOLLO_RELEASE_TOPIC,才继续执行。
其他的实现类也都是如此,那么这里传递这个参数的意义何在?
Beta Was this translation helpful? Give feedback.
All reactions