You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/05/28 02:30:10 UTC

[GitHub] [shardingsphere] chenyx7 opened a new issue #5814: Is it functional to use apollo as ConfigCenter

chenyx7 opened a new issue #5814:
URL: https://github.com/apache/shardingsphere/issues/5814


   **release version 4.1.0**
   
   **Is it ok to use apollo as configcenter without any registrycenter ? for the following code, it doesn't works**:
   
   ` public ShardingOrchestrationFacade(final OrchestrationConfiguration orchestrationConfig, final Collection<String> shardingSchemaNames) {
           Optional<String> registryCenterName = getInstanceNameByOrchestrationType(orchestrationConfig.getInstanceConfigurationMap(), CenterType.REGISTRY_CENTER.getValue());
           Preconditions.checkArgument(registryCenterName.isPresent(), "Can not find instance configuration with registry center orchestration type.");
          }
   `
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] dongzl commented on issue #5814: Is it functional to use apollo as ConfigCenter

Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #5814:
URL: https://github.com/apache/shardingsphere/issues/5814#issuecomment-635059926


   Hi @chenyx7 , Apollo is only as a ConfigCenter, not for RegistryCenter,  you must use other framework as RegistryCenter, e.g  ZK or etcd.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] dongzl commented on issue #5814: Is it functional to use apollo as ConfigCenter

Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #5814:
URL: https://github.com/apache/shardingsphere/issues/5814#issuecomment-635075045


   > > Hi @chenyx7 , Apollo is only as a ConfigCenter, not for RegistryCenter, you must use other framework as RegistryCenter, e.g ZK or etcd.
   > 
   > Thanks @dongzl . So it means , if I use apollo or nacos as ConfigCenter, it is necessary to use another framework as RegistryCenter. And RegistryCenter like zk or etcd, cannot just be replaced by apollo or nacos?
   
   Yes, Apollo or Nacos only use as `ConfigCenter`, they can't instead of ZK and etcd directly.
   
   But ZK and etcd can be used as `ConfigCenter` and `RegistryCenter`.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] kimmking closed issue #5814: Is it functional to use apollo as ConfigCenter

Posted by GitBox <gi...@apache.org>.
kimmking closed issue #5814:
URL: https://github.com/apache/shardingsphere/issues/5814


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] chenyx7 commented on issue #5814: Is it functional to use apollo as ConfigCenter

Posted by GitBox <gi...@apache.org>.
chenyx7 commented on issue #5814:
URL: https://github.com/apache/shardingsphere/issues/5814#issuecomment-635108800


   > > > Hi @chenyx7 , Apollo is only as a ConfigCenter, not for RegistryCenter, you must use other framework as RegistryCenter, e.g ZK or etcd.
   > > 
   > > 
   > > Thanks @dongzl . So it means , if I use apollo or nacos as ConfigCenter, it is necessary to use another framework as RegistryCenter. And RegistryCenter like zk or etcd, cannot just be replaced by apollo or nacos?
   > 
   > Yes, Apollo or Nacos only use as `ConfigCenter`, they can't instead of ZK and etcd directly.
   > 
   > But ZK and etcd can be used as `ConfigCenter` and `RegistryCenter`.
   
   I get it , thanks


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] chenyx7 commented on issue #5814: Is it functional to use apollo as ConfigCenter

Posted by GitBox <gi...@apache.org>.
chenyx7 commented on issue #5814:
URL: https://github.com/apache/shardingsphere/issues/5814#issuecomment-635067868


   > Hi @chenyx7 , Apollo is only as a ConfigCenter, not for RegistryCenter, you must use other framework as RegistryCenter, e.g ZK or etcd.
   
   Thanks @dongzl . So it means , if I use apollo or nacos as ConfigCenter, it is necessary to use another framework as RegistryCenter. And RegistryCenter like zk or etcd, cannot just be replaced by apollo or nacos?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org