Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 931 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 931 Bytes

Testbed

Docker Compose setup to facilitate the tests of Saimiris.

The testbed consists in a Redpanda and ClickHouse instance. Required ClickHouse tables are created on startup. The saimiris.from_kafka table is using the ClickHouse Kafka engine to fetch the results from Redpanda. The saimiris.results table is used to store the results.

Usage

  • Start the testbed
docker compose up -d --force-recreate --renew-anon-volumes
  • Run Saimiris Agent (from the root of the repository)
cargo run -- agent --config=testbed/config/saimiris/saimiris.yml
  • Run Saimiris Client (from the root of the repository)
cat testbed/probes.txt | cargo run -- client --config=testbed/config/saimiris/saimiris.yml wbmwwp9vna
  • Stop the testbed
docker compose down