simple-agent

command
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

README

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. Default configuration file names for data sources can be found here.

Documentation

Overview

Example simple-agent shows how easily a set of CN-infra based plugins can be turned into an application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL