1.0.0 • Published 6 years ago

green-monkey v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

green-monkey

A data stream generator used to test green-firehose.

Green application CodeFactor

Current version: 1.0.0

Lead Maintainer: Halim Qarroum

Table of contents

Install

green add npm://green-monkey

Description

The green-monkey application is a testing application which aims at generating random payloads on the AWS Greengrass message broker at a random interval, and which can be used to test third-party applications subscribing to green-monkey, such as the green-firehose buffering agent.

This application only requires to be deployed using the green-cli to a Greengrass core to start emitting data. You should then subscribe, using your deployment template, other applications to the local/+/monkey topic.

For example, a subscription between green-firehose and green-monkey on the topic local/+/monkey would be the following :

{
  "source": {
    "type": "lambda",
    "function": "green-monkey"
  },
  "destination": {
    "type": "lambda",
    "function": "green-firehose"
  },
  "topic": "local/+/monkey"
}

See also