Expand description
Logical subscriptions and their transport realization.
Explicit receiver intent survives while no publication is attached. A
current publication realizes as Absent -> Pending -> Committed. Current
setup failures and receiver replacement return realization to Absent.
Reservation IDs reject async completion after source detach or replacement.
logical subscription realization:
publication attached
|
v
+--------------------+ reserve setup
| ConsumerRealization| ------------------> +-------------------------------+
| Absent | | ConsumerRealization::Pending |
+--------------------+ <------------------ | (RouteReservationId) |
^ setup fails/rejected +-------------------------------+
| |
| decline/replace v setup accepted
+---------------------------------- +---------------------------------+
| ConsumerRealization::Committed |
+---------------------------------+Intent without a current publication keeps Subscription.current at None.
Accepted setup requires a current identity and a successful transport
declaration. Source detach returns to None while retaining intent.
remove_receiver deletes the record and its intent.
Each receiver retains at most the room session limit of absent publisher targets. Sparse updates keep the targetβs original age. A new target evicts every stream preference of the oldest absent target. Present members do not consume this allowance, including members with no publications. Joining promotes existing intent and departure enters the allowance as a new target.
StructsΒ§
- Committed
Consumer πRoute - Transport realization and adaptation hold share the exact route lifetime.
- Consumer
Route Reservation - Current
Publication π - Route
Graph π - Route
Reservation πId - Subscription π
EnumsΒ§
- Consumer
Realization π
Type AliasesΒ§
- Attached π
- A subscription with its receiver intent and the publication it follows.