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
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
业务端订阅服务上下线变化时,可以获取到变化的实际内容 Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
示例业务代码
public class NacosEventListener implements EventListener {
@Override
public void onEvent(Event event) {
if (event instanceof NamingEvent namingEvent) {
log.info("InstancesChangeEvent\r\n{}(LiveHosts: {}, NewHosts: {}, RemvHosts: {}, ModHosts: {}) => {}",
namingEvent.getServiceName(),
namingEvent.getInstances().size(),
namingEvent.getNewHosts().size(),
namingEvent.getRemvHosts().size(),
namingEvent.getModHosts().size(),
JSON.toJSONString(event));
}
}
}
The text was updated successfully, but these errors were encountered:
llm163520
changed the title
业务端订阅服务变化时间时可以获取到变化的实际内容
业务端订阅服务变化事件时可以获取到变化的实际内容
Dec 6, 2023
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
业务端订阅服务上下线变化时,可以获取到变化的实际内容
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
示例业务代码
The text was updated successfully, but these errors were encountered: