What is the difference between a Producer/Consumer vs Publisher/Subscriber architecture?
Avatar Idan Asulin
Apr 16, 2023
13 14 15
What is the difference between RabbitMQ vs IBM MQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
4 5 6
When should I use Redis Pub/Sub vs RabbitMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
8 9 10
What is the difference between SQS vs RabbitMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
5 6 7
What is the difference between RabbitMQ vs ZeroMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
9 10 11
What is the difference between Kafka vs ZeroMQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
2 3 4
What is the difference between Azure Event Hub vs Kafka vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
5 6 7
How does ActiveMQ vs RabbitMQ vs Kafka vs Memphis work?
Avatar Idan Asulin
Apr 16, 2023
7 8 9
What is ActiveMQ vs IBM MQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
3 4 5
Unexpect error ‘Pulsar error: ServiceUnitNotReady’ when try to connect to pulsar
3 4 5

The error often occurs when the topic owner changes or the namespace bundle is being unloaded. The logs for the broker will show further details of why the unit it’s ready. For instance, it could be something like:

Namespace bundle for topic not served by this instance. Please redo the lookup. 

So for the client side, instead of exposing ServiceUnitNotReady to users, it should do the topic lookup again.  

However, the ServiceUnitNotReady error doesn’t always point to a temporary error, like a change in the namespace bundle ownership. Sometimes, the Pulsar proxy can transfer all errors, including authentication errors, into the ServiceUnitNotReady error. Similarly, the broker could also return the same error when the listener name isn’t correct. So to understand the real cause of the problem, you should check both the client’s and the broker’s logs.