kafka-connect-mqtt | mqtt conncetor for kafka | Pub Sub library

 by   evokly Java Version: Current License: MIT

kandi X-RAY | kafka-connect-mqtt Summary

kandi X-RAY | kafka-connect-mqtt Summary

kafka-connect-mqtt is a Java library typically used in Messaging, Pub Sub, Kafka applications. kafka-connect-mqtt has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

mqtt (source) conncetor for kafka
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              kafka-connect-mqtt has a low active ecosystem.
              It has 147 star(s) with 78 fork(s). There are 26 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 13 open issues and 9 have been closed. On average issues are closed in 9 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of kafka-connect-mqtt is current.

            kandi-Quality Quality

              kafka-connect-mqtt has 0 bugs and 19 code smells.

            kandi-Security Security

              kafka-connect-mqtt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              kafka-connect-mqtt code analysis shows 0 unresolved vulnerabilities.
              There are 2 security hotspots that need review.

            kandi-License License

              kafka-connect-mqtt is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              kafka-connect-mqtt releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              kafka-connect-mqtt saves you 306 person hours of effort in developing the same functionality from scratch.
              It has 736 lines of code, 35 functions and 14 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed kafka-connect-mqtt and discovered the below as its top functions. This is intended to give you an instant insight into kafka-connect-mqtt implemented functionality, and help decide if they suit your requirements.
            • Start the MQTT source
            • Create an SSLSocket factory
            • Get the version of the connector
            • Returns the current version
            • Get an instance of the specified class
            • Creates a new instance of the specified class
            • Returns the version of this task
            • A connection lost
            • Gets the message payload
            • The main entry point
            • Create base config definition
            • Processes a message
            • Stop this connector
            • Starts a new MqSourceConnector
            • Stops this connection
            • Returns a set of task configurations
            • Set data for topic
            • Poll for messages from queue
            • Returns an array of source records
            Get all kandi verified functions for this library.

            kafka-connect-mqtt Key Features

            No Key Features are available at this moment for kafka-connect-mqtt.

            kafka-connect-mqtt Examples and Code Snippets

            No Code Snippets are available at this moment for kafka-connect-mqtt.

            Community Discussions

            Trending Discussions on kafka-connect-mqtt

            QUESTION

            How to conver mqtt's payload data to kafka string type
            Asked 2019-Aug-06 at 17:06

            Now I'm trying to connect from mqtt messages to kafka (actually spark streaming in kafka)

            I used this connecter https://github.com/evokly/kafka-connect-mqtt

            And Spark-2.1.0, Kafka - 0.10.1.1

            Spark streaming output such like this

            ...

            ANSWER

            Answered 2017-Jul-01 at 19:47

            That payload "MTIzMTIz" is the string "123123" just base64 encoded. If you want to just take the MQTT payload and send it to Kafka without base64 encoding you should use a ByteArrayConverter. In my config for the same mqtt connector I set the value converter like so:

            "value.converter": "io.confluent.connect.replicator.util.ByteArrayConverter"

            The above ByteArrayConverter comes with the Confluent Enterprise distribution but there are other open source Kafka Connect ByteArrayConverters such as the one included with the qubole/streamx kafka-connect-s3 connector.

            https://github.com/qubole/streamx/blob/8b9d43008d9901b8e6020404f137944ed97522e2/src/main/java/com/qubole/streamx/ByteArrayConverter.java

            There is KIP-128 to add a standard ByteArrayConverter to the Kafka Connect framework

            https://cwiki.apache.org/confluence/display/KAFKA/KIP-128%3A+Add+ByteArrayConverter+for+Kafka+Connect

            UPDATE: Kafka 0.11 is now released and ships with a ByteArrayConverter. Configure "value.converter": "org.apache.kafka.connect.converters.ByteArrayConverter" and you should get the raw mqtt payload without Base64 encoding.

            Source https://stackoverflow.com/questions/42174769

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install kafka-connect-mqtt

            You can download it from GitHub.
            You can use kafka-connect-mqtt like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the kafka-connect-mqtt component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/evokly/kafka-connect-mqtt.git

          • CLI

            gh repo clone evokly/kafka-connect-mqtt

          • sshUrl

            git@github.com:evokly/kafka-connect-mqtt.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link