driver app to test pulsar-client-samosa
This repository builds on pulsar-location-samosa and indexPerf.
The test runner is basically designed to spawn a p
producer threads, c
consumer threads and p+c
location manager threads.
The location manager takes in a route file as input which simulates movement and triggers topic changes based on the index configuration. A sample config file is included in the bin/
folder.
Metrics such as publish rate, end to end latency and subscription changes are written to the output json specified in the config file
$ cd path/to/samosa-tester
$ mvn compile
$ mvn install
$ cd bin
$ bash run.sh config.yaml
Note that the config file specifies the paths to the route files which are in the following format:
0.0,0.0
0.1,0.0
0.2,0.0
0.2,0.1