Using Delta Subscribe
Since a client must process delta subscriptions using substantially different logic than regular subscriptions, delta subscription is implemented as a separate set of AMPS commands rather than simply as an option on subscribe commands. AMPS supports two different ways to request a delta subscription:
Command | Result |
---|---|
| Register a delta subscription, starting with newly received messages. |
| Replay the state of the SOW and atomically register a delta subscription. |
Applications most commonly use sow_and_delta_subscribe
to receive the current state of messages in the SOW before they begin receiving deltas.
Last updated