simple-agent

command
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 8 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.

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