GithubHelp home page GithubHelp logo

isabella232 / cloud-pubsub-mqtt-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/cloud-pubsub-mqtt-proxy

0.0 0.0 0.0 253 KB

A proxy between Cloud Pub/Sub and MQTT

License: Apache License 2.0

Java 100.00%

cloud-pubsub-mqtt-proxy's Introduction

DEPRECATED

Google provides MQTT bridge as part of our Cloud IoT offerings. We recommend that you consider using the MQTT bridge.

What is MQTT Cloud Pub/Sub Proxy?

The MQTT Cloud Pub/Sub proxy provides a solution for utilizing Cloud Pub/Sub with IoT client devices through an MQTT interface.

MQTT is a lightweight protocol commonly used among IoT devices. The source depends on the [Moquette broker] 2 and the [Eclipse Paho MQTT Client library] 3.

The current version of the proxy utilizes Google Cloud Pub/Sub as the backend Pub/Sub service. If you're planning on running multiple instances of the proxy for scalability, you must avoid running multiple instances on the same host.

If you will be using Google Cloud Pub/Sub, you must set the GCLOUD_PUBSUB_PROJECT_ID environment variable equal to your project ID.

Building from source

Clone the repository and go into the source. Execute mvn clean package. The jar files will be located in the target directory.

Running the server

After going into the target directory execute the following: java -cp mqtt-cloud-pubsub-proxy-1.0-SNAPSHOT-jar-with-dependencies.jar com.google.cloud.pubsub.proxy.moquette.Server

Known Issues

  1. Wildcard subscriptions are not supported in this version.
  2. Clients may receive certain messages that were published before they subscribed.
  3. The proxy server only supports QoS 1. Each message will be delivered at least once. It is possible to receive duplicate messages.
  4. Advanced MQTT features, namely retainable messages and last will messages, are not supported for the multiple server setup.

cloud-pubsub-mqtt-proxy's People

Contributors

naokigoogle avatar raghav0110 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.