This Hello World extension registers a PayloadGenerator
which can be used in a publish command of the scenario.xml of HiveMQ Swarm to set every payload to "HelloWorld".
We strongly recommend reading the HiveMQ Swarm Extension Documentation to grasp the core concepts of HiveMQ Swarm extension development.
-
Clone this repository into a Java 11 Gradle project.
-
Execute the Gradle task
jar
to build the extension. -
Move the file:
build/libs/hivemq-swarm-hello-world-extension-4.37.0.jar
to the directory:HIVEMQ_SWARM_HOME/extensions
-
Use the payload generator in a publish command in the scenario.xml of your choice.
<publish topicGroup="tg1" count="100" rate="10/1s" payloadGeneratorType="hello-world-generator"/>
-
Start HiveMQ Swarm.
If you encounter any problems, we are happy to help. The best place to get in contact is our support.
If you want to contribute to HiveMQ Swarm Hello World Extension, see the contribution guidelines.
HiveMQ Swarm Hello World Extension is licensed under the APACHE LICENSE, VERSION 2.0
.
A copy of the license can be found here.