Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A load testing tool for RabbitMQ Stream

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE2
MPL-2.0
LICENSE-MPL-RabbitMQ
NotificationsYou must be signed in to change notification settings

rabbitmq/rabbitmq-stream-perf-test

Build Status

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.

Pre-requisites

Stream PerfTest requires Java 11 or later to run.

Installation

This is a standalone tool that is distributed in binary form usingGitHub releases.ADocker image is available as well.

Thelatest snapshot is also available.

Support

See theRabbitMQ Java libraries support page for the support timeline of this tool.

Usage

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.

Build Instructions

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

Running Tests with Docker

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

Running Tests with a Local Broker

To launch the test suite (requires a local RabbitMQ node with stream plugin enabled):

./mvnw verify -Drabbitmqctl.bin=/path/to/rabbitmqctl

Code Format

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.

Copyright and License

(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

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE2
MPL-2.0
LICENSE-MPL-RabbitMQ

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp