You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/10/31 08:54:49 UTC

[GitHub] [servicecomb-java-chassis] yhs0092 commented on issue #1310: servciecomb 微服务提供者和消费者应当如何实现多个实例!用springcloud 那样的方式同样的项目,同一个服务名的项目配置多份然后启动多个容器可以吗

yhs0092 commented on issue #1310: servciecomb 微服务提供者和消费者应当如何实现多个实例!用springcloud 那样的方式同样的项目,同一个服务名的项目配置多份然后启动多个容器可以吗
URL: https://github.com/apache/servicecomb-java-chassis/issues/1310#issuecomment-548271742
 
 
   微服务开发框架都是支持多实例启动的,主要是要防止端口冲突。你可以通过环境变量、system property之类的方式修改各个微服务实例监听的端口号,就可以做到本地多实例启动了
   配置的使用方法可以参考[这里](https://education.huaweicloud.com:8443/courses/course-v1:HuaweiX+CBUCNXP012+Self-paced/courseware/da725ede26794694a621b8088a858743/b5b553d0380a4e91a813bedfbbfcd091/)

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


With regards,
Apache Git Services