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 2022/11/25 09:35:56 UTC

[GitHub] [servicecomb-java-chassis] yanghao605 commented on issue #3505: 如何只使用cse的consumerProvider功能调用别的模块,不使用 producerProvider向别的模块提供服务?

yanghao605 commented on issue #3505:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3505#issuecomment-1327213971

   如果不希望自身服务被消费端通过注册中心发现自身服务,可以不填写rest的监听地址
   如果是不希望自身微服务在启动时,不生成相应的接口的契约信息,可以在microservice.yaml中加入下述配置
   servicecomb:
   provider:
       rest:
         scanRestController: false


-- 
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: commits-unsubscribe@servicecomb.apache.org

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