GithubHelp home page GithubHelp logo

hivemq / hivemq-kafka-hello-world-customization Goto Github PK

View Code? Open in Web Editor NEW
5.0 17.0 3.0 228 KB

An example customization project for the HiveMQ Enterprise Extension for Kafka using the HiveMQ Kafka Extension Customization SDK.

Home Page: https://www.hivemq.com

License: Apache License 2.0

Java 100.00%
hivemq kafka customization hello-world mqtt demonstration kafka-extension kafka-extension-customization

hivemq-kafka-hello-world-customization's Introduction

HiveMQ Kafka Extension Hello World Customization

Extension Type GitHub release (latest by date) GitHub

Purpose

This Hello World customization uses a Mqtt-to-Kafka transformer which forwards MQTT PUBLISHES to a Kafka cluster. It maps the MQTT topic structure to a matching Kafka topic structure and preserves MQTT 4 user properties as Kafka record headers.

We strongly recommend reading the HiveMQ Enterprise Extension for Kafka Documentation to grasp the core concepts of HiveMQ Kafka customization development.

Installation

  1. Clone this repository into a Java 11 gradle project.

  2. Run ./gradlew jar task from gradle to build the customization.

  3. Move the file: "build/libs/hivemq-kafka-hello-world-customization-4.24.0.jar" to the directory: "HIVEMQ_HOME/extensions/hivemq-kafka-extension/customizations"

  4. Copy the resources/kafka-configuration.xml to "HIVEMQ_HOME/extensions/hivemq-kafka-extension" and adapt it to your environment.

  5. Delete the "HIVEMQ_HOME/extensions/hivemq-kafka-extension/DISABLED" file.

  6. Start HiveMQ.

First Steps

Manual Testing

Connect with an MQTT client of your choice. Publish a MQTT message to the topic transform/customization. Monitor your Kafka cluster for a record from topic transform.customization.

Next Steps

Awesome, you got your first HiveMQ Kafka customization working.

Now read the HiveMQ Kafka Extension Customization Documentation to see what customizations can do.

Need Help?

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

License

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

hivemq-kafka-hello-world-customization's People

Contributors

a-imal avatar busybeetree avatar dc2-danielkrueger avatar doertedev-hivemq avatar donnerbart avatar florian-limpoeck avatar fraschbi avatar gitseti avatar hivemq-jenkins avatar sauroter avatar schaebo avatar sgtsilvio avatar tchupp avatar yannickweber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

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.