Questions tagged [distributedpubsub]
7 questions
5
votes
1 answer
How can I test a Subscriber's receive method in Akka Cluster?
I have the following Subscriber abstract base class:
abstract class Subscriber(topics: Seq[String]) extends Actor with ActorLogging {
import DistributedPubSubMediator.{ Subscribe, SubscribeAck }
val mediator =…

erip
- 16,374
- 11
- 66
- 121
1
vote
1 answer
Receptionist not performing deduplication when there are multiple "subscribers" on one node in distributed pubsub Topic in akka typed
While exploring distributed publish subscribe in new API akka.actor.typed, we see that distributed publish subscribe is achieved by representing each pub sub topic with an actor, akka.actor.typed.pubsub.Topic. In order to simulate the same , have…

sam.ban
- 238
- 3
- 13
1
vote
0 answers
First Message is Not Reaching the subscribed Actor
We have a Messaging Platform built on top of Akka (2.5) using akka cluster and Distributed Pubsub. We have a cluster of 25 servers currently.
The scenario is as follows.
Actor1 created in Server1 subscribes to a topic Chat1.
Actor2 created in…

ROHIT AGARWAL
- 11
- 1
0
votes
1 answer
Can't receive the messag in Akka Cluster
I'm attempting to send a message from senderActor within Microservice A using the concept of "Classic Distributed Publish Subscribe in Cluster" I'm trying to publish the message to the content-topic, but I'm not receiving it in the ReceiverActor…

Bashir Hussein
- 3
- 1
0
votes
0 answers
Unresolved import 'pubsub'
I am working with Python, JS, & React, and I am following the "Build a Blockchain & Cryptocurrency" Course
Half way into the course, unable to resolve this problem when setting up Real-Time Messaging through PubSub (if you are Python blockchain…

cheruku manish
- 1
- 1
0
votes
0 answers
Ordering of events in multiple Azure event hubs
I need to send Azure IoT Hub events based on message type i.e. telemetry, state and health messages. Now I want to send these to 3 event hubs i.e telemetry message to go to first event hub, health to second event hub and state to 3rd event hub.
The…

iAviator
- 1,310
- 13
- 31
0
votes
1 answer
How can I test a publisher to a DistributedPubSub in Akka Cluster?
I have an actor whose sole responsibility is to forward messages it receives from external interfaces (command-line, user, etc.) to appropriate topics. I want to test that it correctly publishes these messages.
I will need to create some dummy…

erip
- 16,374
- 11
- 66
- 121