Page 1 of 1

What is the subscription type of Tuya cloud-cloud docking Pulsar

Posted: 2023年 Sep 21日 11:58
by bohan

How many types can we subscribe ?


Re: What is the subscription type of Tuya cloud-cloud docking Pulsar

Posted: 2023年 Sep 21日 13:39
by JamesG

There are three types of Subscriptions:

  • Exclusive subscription-there can only be one consumer at a time.

  • Shared subscription-can be subscribed by multiple consumers, each consumer receives a part of the message.

  • Failover subscription-allows multiple consumers to connect to the same topic, but only one consumer can receive messages. Only when the current consumer fails, other consumers start receiving messages.

The Tuya puslar belongs to the third type, the failover subscription.