All Projects → go-chassis → go-chassis-config

go-chassis / go-chassis-config

Licence: Apache-2.0 license
pull and push configs in distributed configuration management service. migrated to go-archaius https://github.com/go-chassis/go-archaius/pull/87

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to go-chassis-config

Microdot
Microdot: An open source .NET microservices framework
Stars: ✭ 1,222 (+5213.04%)
Mutual labels:  distributed-systems, configuration
road-to-orleans
This repository illustrates the road to orleans with practical, real-life examples. From most basic, to more advanced techniques.
Stars: ✭ 55 (+139.13%)
Mutual labels:  distributed-systems, configuration
Genie
Distributed Big Data Orchestration Service
Stars: ✭ 1,544 (+6613.04%)
Mutual labels:  distributed-systems, configuration
Zookeeper
Apache ZooKeeper
Stars: ✭ 10,061 (+43643.48%)
Mutual labels:  distributed-systems, distributed-configuration
Garfield
An offensive attack framework for Distributed Layer of Modern Applications
Stars: ✭ 74 (+221.74%)
Mutual labels:  distributed-systems, distributed-configuration
swiss-army
Ansible-driven configuration management for maintaining a preferred environment (base system and app dotfiles / configurations)
Stars: ✭ 44 (+91.3%)
Mutual labels:  configuration
little-raft
The lightest distributed consensus library. Run your own replicated state machine! ❤️
Stars: ✭ 316 (+1273.91%)
Mutual labels:  distributed-systems
democracy
Tools for peer-to-peer privacy with Ethereum and AZTEC
Stars: ✭ 36 (+56.52%)
Mutual labels:  distributed-systems
nebula
A distributed block-based data storage and compute engine
Stars: ✭ 127 (+452.17%)
Mutual labels:  distributed-systems
emacs-config
My personal emacs configuration based on use-package.
Stars: ✭ 34 (+47.83%)
Mutual labels:  configuration
github-enterprise-cloud-configuration
Guideline of best practices to follow to configure Github Enterprise Cloud in a secure way.
Stars: ✭ 30 (+30.43%)
Mutual labels:  configuration
django-confy
A comfy config for Django
Stars: ✭ 25 (+8.7%)
Mutual labels:  configuration
dot-emacs
Emacs configuration
Stars: ✭ 23 (+0%)
Mutual labels:  configuration
nsq-0.3.7
nsq注释版基于0.3.7版本
Stars: ✭ 45 (+95.65%)
Mutual labels:  distributed-systems
dotfiles
An elegant way to manage dotfiles, commands, completions, configurations for terminal players.
Stars: ✭ 27 (+17.39%)
Mutual labels:  configuration
distributed rl
Pytorch implementation of distributed deep reinforcement learning
Stars: ✭ 66 (+186.96%)
Mutual labels:  distributed-systems
jakob
A fault-tolerant, distributed cluster of Redis servers with built-in load-balancing and fall-backs to provide data availability
Stars: ✭ 19 (-17.39%)
Mutual labels:  distributed-systems
fabex
Block explorer for Hyperledger Fabric
Stars: ✭ 26 (+13.04%)
Mutual labels:  distributed-systems
climatecontrol
Python library for loading settings and config data from files and environment variables
Stars: ✭ 20 (-13.04%)
Mutual labels:  configuration
moleculer-java
Java implementation of the Moleculer microservices framework
Stars: ✭ 39 (+69.57%)
Mutual labels:  distributed-systems

go-chassis-config

Build Status
go-chassis-config is able to pull configs from heterogeneous distributed configuration management service. it is decoupled with go chassis. you can use it directly without go chassis.

Supported distributed configuration management service:

name import description
config_center github.com/go-chassis/go-chassis-config/configcenter huawei cloud CSE config center https://www.huaweicloud.com/product/cse.html
apollo(not longer under maintenance) github.com/go-chassis/go-chassis-config/apollo ctrip apollo https://github.com/ctripcorp/apollo
servicecomb-kie github.com/apache/servicecomb-kie/client/adaptor apache servicecomb-kie https://github.com/apache/servicecomb-kie

Example

Get a client of config center

  1. import the config client you want to use
import _ "github.com/go-chassis/go-chassis-config/configcenter"
  1. Create a client
c, err := ccclient.NewClient("config_center", ccclient.Options{
		ServerURI: "http://127.0.0.1:30200",
	})

Use huawei cloud

import (
	"github.com/huaweicse/auth"
	"github.com/go-chassis/foundation/httpclient"
	_ "github.com/go-chassis/go-chassis-config/configcenter"
)

func main() {
	var err error
	httpclient.SignRequest,err =auth.GetShaAKSKSignFunc("your ak", "your sk", "")
	if err!=nil{
        //handle err
	}
	ccclient.NewClient("config_center",ccclient.Options{
		ServerURI:"the address of CSE endpoint",
	})
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].