laywin
laywin
> However, this still cannot resolve the ABC issue.  it seems a timing problem, there should be a timestamp or version from registry center.
it seems no multi thread makes flow clean and clear. ```java private synchronized void doOnEvent(ServiceInstancesChangedEvent event) { getRemoteMetadata(); int emptyNum = parseMetadata(); if (emptyNum == allInstances.size()) { return; } notify();...
i have tested dubbo 3.3.1, it successed to register app instance programmatically. ```java ServiceConfig service = new ServiceConfig(); service.setInterface(Greeter.class); service.setRef(new GreeterImpl()); DubboBootstrap.getInstance().getCache().get(App.class); RegistryConfig registryConfig = new RegistryConfig("nacos://127.0.0.1:8848"); registryConfig.setRegisterMode("instance"); DubboBootstrap bootstrap...
i think there is bug. your case is special, config combine xml and program. when spring container started, there is no service config in xml, so missed the register process....