- Cloned from OpenMessaging:0a68a61
- Modify
./benchmark-framework/src/main/java/io/openmessaging/benchmark/WorkloadGenerator.java
, L352 to enable per-second reporting
java -version
You should see output like:
1.0.20" 2023-07-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.20+9-LTS-256)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.20+9-LTS-256, mixed mode)
If the second line Runtime Environment has version less than 18.x and build less than 11.x, export jdk-11 binary to system path. In ~/.bashrc
, add the following line, and replace destination_dir
:
export PATH=xinda-software/jdk-11.0.20/bin:$PATH
Refresh `~/.bashrc``, and check java version. You should have JRE 18.9.
source ~/.bashrc
java -version
mvn clean install -Denforcer.skip=true
Notice: We do not consider or plan to release any unilateral test results based on this standard. For reference, you can purchase server tests on the cloud by yourself.
This repository houses user-friendly, cloud-ready benchmarking suites for the following messaging platforms:
- Apache ActiveMQ Artemis
- Apache Bookkeeper
- Apache Kafka
- Apache Pulsar
- Apache RocketMQ
- Generic JMS
- KoP (Kafka-on-Pulsar)
- NATS JetStream
- NATS Streaming (STAN)
- NSQ
- Pravega
- RabbitMQ
- Redis
More details could be found at the official documentation.
Requirements:
- JDK 8
- Maven 3.8.6+
Common build actions:
Action | Command |
---|---|
Full build and test | mvn clean verify |
Skip tests | mvn clean verify -DskipTests |
Skip Jacoco test coverage check | mvn clean verify -Djacoco.skip |
Skip Checkstyle standards check | mvn clean verify -Dcheckstyle.skip |
Skip Spotless formatting check | mvn clean verify -Dspotless.check.skip |
Format code | mvn spotless:apply |
Generate license headers | mvn license:format |
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0