servicecomb-kie

Apache ServiceComb MetaConfig

  • 所有者: apache/servicecomb-kie
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Apache-ServiceComb-Kie

Build Status
License
Coverage Status
A service for configuration management in distributed system.

Conceptions

Key

Key could indicate a configuration like "timeout",
then the value could be "3s"
or indicates a file name "app.properties",
then the value could be content of app.properties

Labels

Each key could has labels. labels indicates a unique key.
A key "log_level" with labels "env=production"
may saves the value "INFO" for all application log level in production environment.
A key "log_level" with labels "env=production, component=payment"
may saves the value "DEBUG" for payment service in production environment.

It means all payment service print debug log, but for other service print info log.

So you can control your application runtime behaviors
by setting different labels to a key.

Why use kie

kie is a highly flexible config server. Nowadays, an operation team is facing different "x-centralized" system.
For example a classic application-centralized system. A operator wants to change config based on application name and version, then the label could be "app,version" for locating a app's configurations.
Meanwhile some teams manage app in a data center, each application instance will be deployed in a VM machine. then label could be "farm,role,server,component" to locate a app's configurations.
kie fit different senario for configuration management which benifit from label design.

Components

It includes 1 components

  • server: rest api service to manage kv

Features

  • kv management: you can manage config item by key and label
  • kv revision mangement: you can mange all kv change history
  • kv change event: use long polling to watch kv changes, highly decreased network cost
  • polling detail track: if any client poll config from server, the detail will be tracked

Quick Start

Run locally with Docker compose

git clone git@github.com:apache/servicecomb-kie.git
cd servicecomb-kie/deployments/docker
sudo docker-compose up

It will launch 3 components

  • mongodb: 127.0.0.1:27017
  • mongodb UI: http://127.0.0.1:8081
  • servicecomb-kie: http://127.0.0.1:30110

Development

To see how to build a local dev environment, check here

Build

This will build your own service image and binary in local

cd build
export VERSION=0.0.1 #optional, it is latest by default
./build_docker.sh

This will generate a "servicecomb-kie-0.0.1-linux-amd64.tar" in "release" folder,
and a docker image "servicecomb/kie:0.0.1"

API Doc

After you launch kie server, you can browse API doc in http://127.0.0.1:30110/apidocs.json,
copy this doc to http://editor.swagger.io/

Documentations

https://kie.readthedocs.io/en/latest/

or follow here to generate it in local

Contact

Bugs: issues

Contributing

See Contribution guide for details on submitting patches and the contribution workflow.

Reporting Issues

See reporting bugs for details about reporting any issues.

主要指标

概览
名称与所有者apache/servicecomb-kie
主编程语言Go
编程语言Go (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2019-04-29 02:19:15
推送于2025-05-11 07:34:46
最后一次提交2024-02-22 19:49:33
发布数3
最新版本名称v0.2.0 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数544
关注者数34
派生数68
提交数216
已启用问题?
问题数54
打开的问题数20
拉请求数210
打开的拉请求数16
关闭的拉请求数45
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?