Coder Social home page Coder Social logo

Subscribe to topics? about eddn HOT 4 CLOSED

edcd avatar edcd commented on August 25, 2024
Subscribe to topics?

from eddn.

Comments (4)

dmon82 avatar dmon82 commented on August 25, 2024

Duh, nevermind, I didn't realise I was searching only open issues. In an earlier issue it was mentioned to connect to a gateway to be able to use topic, because prepending text on the json object would break all then-current clients.

How do I connect to the gateway, if you don't mind? I'd rather subscribe to just a specific topic and not receive all other data at all, since I'd be discarding it.

from eddn.

Tkael avatar Tkael commented on August 25, 2024

Here's the official instructions.
I don't think that customizing the output like you're describing is possible with the current architecture. The server posts the data to a single relay where it is not possible to customize outputs.

from eddn.

AnthorNet avatar AnthorNet commented on August 25, 2024

Hi,

It's not doable in zeroMQ, what they do when subscribe n'to topic is only a filtering, you always receive every messages.

So just filter by schema :)

from eddn.

dmon82 avatar dmon82 commented on August 25, 2024

I thought the Relay connected to the Gateway, and told the Gateway what messages to send to the Relay. And by connecting to the Gateway instead, you could choose what to receive like the Relay. And that the currently available Relay does, as you said, send everything with the topic stripped, which is just a JSON payload.

Or maybe what you were discussing was making several relays and actually start using topics to split the messages, which wasn't ever the behaviour... ah that must probably be the case. Let me grab a beer or five, I need to gain more insight through spiritual cleansing and meditation.

I already got the ZeroMQ connection running, quite a curious mashup of data formatting from all the different softwares. It's mighty awesome though, thank you for taking some time to reply and to get me thinking further, I got it all up and running as-is :)

from eddn.

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.