[ISSUE #58] enable the service to support multiple namesrvs (#59)

* enable the service to support multiple namesrvs

* use @ to split the namesrv of different clusters

Co-authored-by: dengzhiwen1 <dengzhiwen1@xiaomi.com>
This commit is contained in:
cserwen
2022-01-04 18:02:08 +08:00
committed by GitHub
parent 1caeb4ce31
commit 2d8bf001b3
6 changed files with 31 additions and 7 deletions

View File

@@ -62,6 +62,7 @@ public abstract class BaseControllerTest extends BaseTest {
when(configure.getAccessKey()).thenReturn("12345678");
when(configure.getSecretKey()).thenReturn("rocketmq");
when(configure.getNamesrvAddr()).thenReturn("127.0.0.1:9876");
when(configure.getNamesrvAddrs()).thenReturn("127.0.0.1:9876");
when(configure.isACLEnabled()).thenReturn(true);
when(configure.isUseTLS()).thenReturn(false);
}