1 Star 0 Fork 0

xingyp / cn-infra

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 629 Bytes
一键复制 编辑 原始数据 按行查看 历史
Vladimir Lavor 提交于 2018-10-02 10:17 . removed/updated dead links

Simple agent

This application demonstrates how easily a set of CN-infra based plugins can be turned into an application.

Usage

To run the example, simply type:

go run agent.go [-kafka-config <config-filepath>] [-etcd-config <config-filepath>] \
 [-cassandra-config <config-filepath>] [-redis-config <config-filepath>]

All four data sources (kafka, etcd, redis, cassandra) are optional. If a particular config file path is left unspecified, the application will first try to look for the default configuration filename in the current working directory before skipping the initialization of the associated plugin.

1
https://gitee.com/xingyp/cn-infra.git
git@gitee.com:xingyp/cn-infra.git
xingyp
cn-infra
cn-infra
v2.2.0

搜索帮助