CodePlayer opened a new issue, #12334: URL: https://github.com/apache/dubbo/issues/12334
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.2.0 / 3.2.1 * Operating System version: Windows 10 * Java version: OpenJDK 17.0.6 ### Steps to reproduce this issue ```java public interface RemoteCacheSyncService { void flushCache(); } @DubboService public class RemoteCacheSyncServiceImpl implements RemoteCacheSyncService { @Override public void flushCache() { // some code } } ``` We have 3 microservices, referred to as `A`, `B`, and `C`. Each service contains the above code. But, just `C` has a `@DubboReference` to the interface only. ```java @DubboReference(cluster = ClusterRules.BROADCAST) RemoteCacheSyncService remoteCacheSyncService; ``` ### Expected Behavior Call `ALL` implementations in **ALL** microservices. ### Actual Behavior However, since there is a service implementation of the interface in the **same application** ( `C` ), Dubbo will use the `injvm` protocol. Only the service implementation located in `C` will be invoked. Same issue with https://github.com/apache/dubbo/issues/6842 , however, it came back again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
