Skip to content
Simulate alert streams for the Fink broker
Python Shell
Branch: master
Clone or download
JulienPeloton Merge pull request #11 from /issues/10/schema
Update schema version and test data
Latest commit 75ae23a Dec 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Add possibility to take all alerts by setting nobservations to -1 Nov 25, 2019
conf
datasim
docker
fink_alert_simulator
schemas
.gitignore
LICENSE
README.md
setup.py

README.md

Fink alert simulator

fink-alert-simulator is a package to inject alert data to Apache Kafka to feed brokers listening to Kafka streams. The main purposes are testing the broker and replaying historical alert data. This package belongs to the fink broker ecosystem.

Installation

Fork and/or clone the repo, and update your PYTHONPATH and PATH to use the tools:

# in your ~/.bash_profile
export FINK_ALERT_SIMULATOR=/path/to/fink-alert-simulator
export PYTHONPATH=$FINK_ALERT_SIMULATOR:$PYTHONPATH
export PATH=$FINK_ALERT_SIMULATOR/bin:$PATH

Usage

Simply use

fink_simulator [options] [-h]

Note that you would need to have access to a Kafka cluster to publish alerts, otherwise you can use the docker version for local tests (you would need docker-compose installed). Learn more on how to use fink-alert-simulator by following the dedicated tutorial.

You can’t perform that action at this time.