Questions tagged [publish-subscribe]

Publish/subscribe is a messaging pattern where senders (publishers) of messages do not program the messages to be sent directly to specific receivers (subscribers). Rather, published messages are characterized into channels, without knowledge of what, if any, subscribers there may be.

Publish/subscribe is a messaging pattern where senders (publishers) of messages do not program the messages to be sent directly to specific receivers (subscribers). Rather, published messages are characterized into channels, without knowledge of what, if any, subscribers there may be. Subscribers express interest in one or more channels, and only receive messages that are of interest, without knowledge of what, if any, publishers there are.

Among technologies known to implement the Publish/Subscribe pattern you can find :
( in a purely alphabetical order )

2940 questions
1
vote
2 answers

using nservicebus to subscribe to a specific message type

I am looking into using nservicebus and wondering how hard it would be to do the following in the publish/subscribe topology. For example, a client(s) would subscribe to User type messages. But only subscribe to a subset of these messages, for…
Jason Smith
  • 373
  • 2
  • 6
  • 20
1
vote
1 answer

Unable to receive published Collection from Meteor server side

Here is my problem I have declared my Collection outside MeteorisServer and MeteorisClient wrappers. var Items = new Meteor.Collection("items"); I then insert my Items Collection with array x and array z. Items.insert({ owner: x, …
jsdiaries-gd
  • 169
  • 1
  • 3
  • 13
1
vote
1 answer

RTI DDS Qos profile history not working as expected

I am currently using RTI DDS for a pub sub system I am implementing, and for some topics want to keep a history depth of only 1 to keep to be resent if ever needed and for other topics, want to keep all the history to be resent if ever needed. Below…
jgr208
  • 2,896
  • 9
  • 36
  • 64
1
vote
1 answer

Meteor js, iron-router, unit testing with Route.go('...') in server side doesn't work

I need to go to a specific router to test publish behavior, I'm using iron router package, Router.go('...'), but doesn't work in server side , it throw me an error: //XXX this assumes no other routers on the parent stack which we should probably…
Zilev av
  • 491
  • 1
  • 7
  • 21
1
vote
1 answer

Testing Akka PubSub mediator with specs2

I'm fairly new to testing Akka and have been stuck trying to simply verify that a message is sent to a subscriber when a publish message is sent to an Akka mediator from akka.contrib.pattern.DistributedPubSubMediator. I'd like to understand how to…
joshm1
  • 553
  • 1
  • 10
  • 21
1
vote
1 answer

ZeroMQ two PUB-SUB Proxies

I want to implement a pub-sub infrastructure for our distributed system. The idea behind the network, which you can see in the picture is, that I want to implement publisher and subscriber in java. But in JZmq curve encryption is not yet supported.…
user2071938
  • 2,055
  • 6
  • 28
  • 60
1
vote
1 answer

DDS 9th topic causes a crash

I am using DDS (more specifically RTI DDS) for a java application. I am creating each topic for my DDS implementation one by one in code so thus I can test each one with a DDS spy after the code is written. When I wrote the 8th topic everything…
jgr208
  • 2,896
  • 9
  • 36
  • 64
1
vote
1 answer

Publish/Subscribe

I'm trying to implement publish/subscribe pattern in Node but without Redis. The functionality should be the same; you can publish to a channel, subscribe to a channel and listen to data if you have subscribed; here are the Redis…
user385729
  • 1,924
  • 9
  • 29
  • 42
1
vote
2 answers

Pub/Sub Redis, can I monitor whether any published messages are consumed?

I have a redis instance that publishes messages via different topics. Instead of implementing a complex heartbeat mechanism (complex because the instance would stop publishing messages after some time if they are not consumed), is there a way to…
Matt
  • 7,004
  • 11
  • 71
  • 117
1
vote
1 answer

zmq socket not working after a period of time

I have a program where there's a ZMQ_SUB socket at the client side, and a ZMQ_PUB socket at the server side, and the client subscribes to the server: Pretty straightforward code: client side: zmq::socket_t subscriber(context, ZMQ_SUB); …
Yang Ye
  • 11
  • 3
1
vote
1 answer

Sails pubsub how to subscribe to a model instance?

I am struggling to receive pubsub events in my client. The client store (reflux) gets the data from a project using its id. As I understand it this automatically subscribes the Sails socket for realtime events (from version 0.10), but I don't see it…
Thijs Koerselman
  • 21,680
  • 22
  • 74
  • 108
1
vote
1 answer

DDS Keyed Topics

I am currently using RTI DDS on a system where we will have one main topic for multiple items, such as a car topic with multiple vin numbers. Since this is the design I am trying to then make a "keyed" topic which is basically a topic that has a…
jgr208
  • 2,896
  • 9
  • 36
  • 64
1
vote
2 answers

Publish subscribe for iOS?

Is there pub sub support in the iOS SDK or in any framework for iOS (in essence a wrapper for NSNotificationCenter, that would facilitate use and also add additional functionality)? I find pub sub very helpful for designing mobile applications and…
stevebot
  • 23,275
  • 29
  • 119
  • 181
1
vote
1 answer

Mongodb tailable cursor - Isn't that bad practice to have a continually spinning loop?

I'm looking into the best way to have my app get notified when a collection is updated in mongo. From everything I read on the interwebs, the standard practice is to use a capped collection with a tailable cursor and here's a snippet from mongodb's…
Catfish
  • 18,876
  • 54
  • 209
  • 353
1
vote
3 answers

how to know which docs are sent to the client in meteor

I've a publication which sends limited number of records based on start and limit Metero.publish("posts",function(start,limit){ return Posts.find({},{"start":start,"limit":limit}); }); I'm subscribing to the publish function in autorun…
user555
  • 1,489
  • 2
  • 15
  • 28
1 2 3
99
100