ServiceComb

ServiceComb service center is the default plugin of go chassis for service discovery. ServiceComb kie is the default plugin of go chassis for configuration management.

Configurations

Update the chassis.yaml of your microservices with the following configuration.

servicecomb:
  registry:
      #type: servicecenter
      address: http://127.0.0.1:30110
      refeshInterval : 30s       
      watch: true
  config:
    client:
      serverUri: http://127.0.0.1:30110         # This should be the address of your Kie Server
      #type: kie
  credentials:
    account:    
      name: service_account
      password: Complicated_password1
    cipher: default
    #type:rbac

Config Servers

Go-Chassis leverage go-archaius to retrieve configuration from remote server

ServiceComb-Kie

kie is a service for configuration management in distributed system.

use this guide to set up a ServiceComb-Kie server.

ServiceComb-rbac

if add this config, you need to enable RBAC feature on service-center. use this guide to set up rbac auth for service-center.