Coder Social home page Coder Social logo

Simple publish about hermes-protocol HOT 2 CLOSED

snipsco avatar snipsco commented on September 15, 2024 1
Simple publish

from hermes-protocol.

Comments (2)

fredszaq avatar fredszaq commented on September 15, 2024

Hi @oziee

I don't think this is a good idea, for multiple reasons.

  • hermes in itself is MQTT agnostic, the implementation we use the most is indeed the MQTT one at the moment but we also have an inprocess version for which this doesn't make any sense
  • I don't want to end up maintaining a generic MQTT client API in this lib, there are already better ones in all the languages we support and adding this here will add some maintenance cost that would be better spent elsewhere
  • creating a new connection to the broker is not that expensive: networkwise it is only 2 small packets every few seconds for the pings when nothing is posted on it, which is nothing compared to the rest of the platform (say for example the sound input)

from hermes-protocol.

 avatar commented on September 15, 2024

pity

snippets can't use the hermes mqtt client that is already connected. Snippets receive intent notifications.. but can't send mqtt except specific snips hermes mqtt topics

I hardy see any problem in adding a few lines of code that allow for access to the ffi connected mqtt client to publish -topic-message

from hermes-protocol.

Related Issues (20)

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.