/hivemq-swarm-hello-world-extension

HiveMQ Swarm extension for demonstrating the HiveMQ Swarm extension system

Primary LanguageJavaApache License 2.0Apache-2.0

HiveMQ Swarm Hello World Extension

Extension Type GitHub release (latest by date) GitHub

Purpose

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.

Installation

  • 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.23.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.

Need Help?

If you encounter any problems, we are happy to help. The best place to get in contact is our support.

Contributing

If you want to contribute to HiveMQ Swarm Hello World Extension, see the contribution guidelines.

License

HiveMQ Swarm Hello World Extension is licensed under the APACHE LICENSE, VERSION 2.0. A copy of the license can be found here.