- Notifications
You must be signed in to change notification settings - Fork5
A load testing tool for RabbitMQ Stream
License
Unknown and 2 other licenses found
Licenses found
rabbitmq/rabbitmq-stream-perf-test
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains source code of the RabbitMQ Stream Performance Testing Tool.The client is maintained by theRabbitMQ team at Broadcom.
Stream PerfTest is based on thestream Java client and uses thestream protocol to communicate with a RabbitMQ cluster.UsePerfTest if you want to test streams or queues withAMQP 0.9.1.
This is a standalone tool that is distributed in binary form usingGitHub releases.ADocker image is available as well.
Thelatest snapshot is also available.
For questions:RabbitMQ Users
For bugs and feature requests:GitHub Issues
See theRabbitMQ Java libraries support page for the support timeline of this tool.
Download the latest snapshot:
wget https://github.com/rabbitmq/rabbitmq-java-tools-binaries-dev/releases/download/v-stream-perf-test-latest/stream-perf-test-latest.jar
Launch a performance test with 1 producer and 1 consumer:
java -jar stream-perf-test-latest.jar
Use
java -jar stream-perf-test-latest.jar --help
to see all supported options.
You need JDK 11 or later installed.
To build the JAR file:
./mvnw clean package -Dmaven.test.skip
To run the performance tool from the created binary:
java -jar target/stream-perf-test.jar
Launch the broker:
docker run -it --rm --name rabbitmq -p 5552:5552 -p 5672:5672 \ -e RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_stream advertised_host localhost' \ rabbitmq:4.1
Enable the stream plugin:
docker exec rabbitmq rabbitmq-plugins enable rabbitmq_stream
Launch the tests:
./mvnw test -Drabbitmqctl.bin=DOCKER:rabbitmq
The project uses theGoogle Java Format. Readthe documentation to support the format in yourfavoriteIDE.
Please launch the./mvnw spotless:apply command to format your changes before committing.
(c) 2020-2023 Broadcom. All Rights Reserved.The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
Double licensed under the MPL2.0 and ASL2. SeeLICENSE for details.
About
A load testing tool for RabbitMQ Stream
Resources
License
Unknown and 2 other licenses found
Licenses found
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.