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.
- 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