Skip to content

Manasvini/samosa-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

samosa-tester

driver app to test pulsar-client-samosa

Introduction

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

Building

$ cd path/to/samosa-tester  
$ mvn compile  
$ mvn install  

Running the code

$ 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  

About

driver app to test pulsar-client-samosa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published