dubbo.apache.org/dubbo-go/v3@v3.1.1/remoting/polaris/polaris.yaml (about)

     1  global:
     2    system:
     3      mode: 0
     4      discoverCluster:
     5        namespace: Polaris
     6        service: polaris.discover
     7        refreshInterval: 10m
     8      healthCheckCluster:
     9        namespace: Polaris
    10        service: polaris.healthcheck
    11        refreshInterval: 10m
    12      monitorCluster:
    13        namespace: Polaris
    14        service: polaris.monitor
    15        refreshInterval: 10m
    16    api:
    17      timeout: 1s
    18      reportInterval: 10m
    19      maxRetryTimes: 5
    20      retryInterval: 1s
    21    serverConnector:
    22      protocol: grpc
    23      connectTimeout: 500ms
    24      messageTimeout: 1s
    25      connectionIdleTimeout: 1s
    26      requestQueueSize: 1000
    27      serverSwitchInterval: 10m
    28      plugin:
    29        grpc:
    30          maxCallRecvMsgSize: 52428800
    31    statReporter:
    32      enable: false
    33  consumer:
    34    localCache:
    35      type: inmemory
    36      serviceExpireTime: 24h
    37      serviceRefreshInterval: 2s
    38      persistDir: $HOME/polaris/backup
    39      persistMaxWriteRetry: 5
    40      persistMaxReadRetry: 1
    41      persistRetryInterval: 1s
    42      persistAvailableInterval: 60s
    43      startUseFileCache: true
    44    serviceRouter:
    45      chain:
    46        - ruleBasedRouter
    47        - nearbyBasedRouter
    48      plugin:
    49        nearbyBasedRouter:
    50          matchLevel: zone
    51        ruleBasedRouter: {}
    52      percentOfMinInstances: 0
    53      enableRecoverAll: true
    54    loadbalancer:
    55      type: weightedRandom
    56      plugin:
    57        ringHash:
    58          vnodeCount: 500
    59    circuitBreaker:
    60      enable: true
    61      checkPeriod: 30s
    62      requestCountAfterHalfOpen: 10
    63      sleepWindow: 30s
    64      successCountAfterHalfOpen: 8
    65      recoverWindow: 60s
    66      recoverNumBuckets: 10
    67      chain:
    68        - errorCount
    69        - errorRate
    70      plugin:
    71        errorCount:
    72          continuousErrorThreshold: 10
    73          metricNumBuckets: 10
    74          metricStatTimeWindow: 1m0s
    75        errorRate:
    76          errorRateThreshold: 0.5
    77          metricNumBuckets: 5
    78          metricStatTimeWindow: 1m0s
    79          requestVolumeThreshold: 10
    80    subscribe:
    81      type: subscribeLocalChannel
    82      plugin:
    83        subscribeLocalChannel:
    84          channelBufferSize: 50