Service Center Client 配置项

  • 基本配置

    配置项名称版本缺省值功能描述
    servicecomb.service.registry.client.eventLoopPoolSize4event loop 线程数
    servicecomb.service.registry.client.instances1verticle instances 数量
    servicecomb.service.registry.client.httpVersion1.1HTTP协议版本
    servicecomb.service.registry.client.timeout.connection1000连接超时时间
    servicecomb.service.registry.client.timeout.idle60HTTP 连接闲置超时时间
    servicecomb.service.registry.client.workerPoolSize4work线程池大小,仅供 web socket 使用
  • 请求超时配置

    servicecomb.service.registry.client.timeout.heartbeat 设置心跳请求超时时间,默认为 3, 000 毫秒; servicecomb.service.registry.client.timeout.request 设置其他请求超时时间,默认为 30, 000 毫秒。

  • SSL 配置

    参考 使用TLS通信。 tag 为 sc.consumer

  • Proxy 配置

    参考 代理设置