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:

CommandResult

delta_subscribe

Register a delta subscription, starting with newly received messages.

sow_and_delta_subscribe

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

Copyright 2013-2024 60East Technologies, Inc.