Giter Site home page Giter Site logo

tomcat-cdc's Introduction

tomcat-CDC

ToMCAT's Coordination Detection Component

This component requires an active message broker. If you do not have one installed you can use mosquitto:

sudo port install mosquitto
sudo port load mosquitto

To install the prerequisites using MacPorts:

sudo port selfupdate
sudo port install cmake boost paho.mqtt.cpp

To build:

mkdir build
cd build
cmake ..
make -j

To run the program (assuming you are in the build directory)o

./main

To see available options:

./main -h

To run with a different config file than the default file (The given file must be a YAML file):

./main -c file_path

To see the program's output, subscribe your message broker to "agent/tomcat-CDC/coordination_event", like so:

mosquitto_sub -t "agent/tomcat-CDC/coordination_event"

Options

Verbose:

To run the agent in verbose mode call:

./main --verbose

In verbose mode, the agent will output the utterances it is matching on in the command line output.

Logging Filemode:

To make the agent produce a log file, call:

./main --verbose_file

Be aware that this is not compatible with --verbose. Under this option, the agent will create a /logs/ directory in the root directory of the agent. It will write a log file in that directory containing in-depth information on the cdc-events published on the bus.

tomcat-cdc's People

Contributors

remo-help avatar adarshp avatar beyzabozdag avatar

Watchers

 avatar  avatar Clayton T. Morrison avatar  avatar Joseph Astier avatar Meghavarshini Krishnaswamy avatar  avatar  avatar  avatar

tomcat-cdc's Issues

Redundant outputs of cdc agent

The cdc agent outputs are redundant, we need to diagnose what the cause of the issue is.
this work is in the "diagnostic" branch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.