Coder Social home page Coder Social logo

hivemq / mosquitto2hivemq Goto Github PK

View Code? Open in Web Editor NEW
6.0 13.0 0.0 4.46 MB

A smart migration tool to migrate your configuration and persistent connections from Mosquitto to the HiveMQ Enterprise MQTT Broker.

License: Apache License 2.0

Java 100.00%
mosquitto mqtt hivemq mqtt-broker mqtt-server mqtt-service migration-tool

mosquitto2hivemq's Introduction

Mosquitto to HiveMQ Migration Tool

MQTT 5.0 and 3.1.1 compatible migration tool to migrate your persistent connections from Mosquitto to the HiveMQ Enterprise Broker.

Features

  • All MQTT 3.1.1 and MQTT 5.0 features are supported (except shared subscriptions, which are not directly persisted in Mosquitto)
  • latest Mosquitto support (1.6.7) as well as all 1.6.* releases
  • easy to use

Prerequisites

The tool was created using Java 11.

Quickstart

Download

There is a package prepared as release of the repository that can be
downloaded. See [packages/1.0.0/mosquitto2hivemq-1.0.0.zip](Zip file of the current package)

The Zip file contains a jar and the README. After downloading the package can be unzipped and migration can start.

The simplest way to start the migration tool is typing: $ java -jar mosquitto2hivemq-1.0.0.jar -i <mosquitto.db> See also java -jar mosquitto2hivemq-1.0.0.jar --help.

A timestamped folder will be created, which contains a handy backup file. You can then import this file via the HiveMQ Control Center under the Admin/Backup section.

Building from source

To do a clean build, issue the following command:

$ ./gradlew build

This creates the migration-tool.jar which can then be executed.

Command Attributes

Attribute Explanation
-i Enter the input Mosquitto database file which is needed for the migration.
-o Add a path to specify the output folder of the HiveMQ migration Folder.
-k Keep the XML Files created by the migration tool for further investigation.
-v Enable verbose mode to get more details during the migration.

See also java -jar mosquitto2hivemq-1.0.0.jar --help

License

See LICENSE

mosquitto2hivemq's People

Contributors

lukasbrand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mosquitto2hivemq's Issues

Add junit tests

As we have only integration tests in our private repo junit tests are missing.

Please add for the most important classes junit tests, so that we reach add least a test discovery of >= 60%

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.