Skip to main content
Version: 0.12.0

What a channel sees

A channel sees the whole deployment, and may act only on what was granted. It observes every unit, the instance and itself, so a panel can show units it cannot command. It addresses only Plugin units, and within each only the streams, commands and questions its plugin was granted. This page gives what a channel observes and what it addresses, what a subscription promises here, and what a suspended channel keeps.

The opening picture, a read and a subscription's snapshot are one record computed by one path. Every field of it is either fixed for the life of the instance or kept current by the Core.

What a channel observes, and what it may address​

They are two different sets.

Which subjectsWhy
observedevery unit of the deployment, the channel itself, and the instancea panel shows what the deployment is doing, including units it cannot command
addressedthe Plugin units, and within each the streams, commands and questions its plugin was grantedonly a Plugin unit holds a Session, and only a granted object may be named
SubjectThe record carries
instancewhether it is ready or stopping, and since when
unitthe declared identity, the kind, the state and the incarnation with the moment of the last transition; the condition — a grade, a line and when it began — or none where the unit never reported; and the streams currently activated
channelthis channel: attached and by which client, whether it is suspended, in which grade and in favour of which channel, and what it retains
  • No declaration narrows what one channel may address relative to another. Channels differ in their address, projection, cardinality, the arbitration they take part in and their grade of suspension — never in reach.
  • A channel observes only its own channel subject. Who else is connected is answered by the administrative surface, not this one.

What a subscription promises​

The five rules of a subscription hold unchanged.

#RuleOn this surface
1it begins with a snapshotthe opening picture, and a fresh one after an overflow
2delivery is bounded per subscriberone queue of 256 events per subscription
3an overflow is announced with a fresh snapshotthe client is told it lost its place, and given a new one
4events about one subject arrive in orderacross subjects nothing is promised
5what a client accumulates is a cachevalid while the subscription lives, never an authority
  • A subscription stands from the moment a channel attaches, selecting everything the channel may observe. A client narrows it by subscribing with a filter of its own.
  • Filtering has the same four independent axes: subject, a severity floor, type exactly or by prefix, and occurrence exactly or by prefix (names and filtering).
  • A subscription changes when a client learns, never what it may learn.
  • Where arbitration governs the channel, the subscription is confirmed (attaching).

What a suspended channel keeps​

GradeKeepsLoses
read-only — the defaulteverything it received before: the snapshot, every event it subscribed to, every stream delivery it heldthe right to command (arbitration)
darkits own channel state, and nothing elseevery other event, and every stream delivery
  • A dark channel still learns about itself, so it can learn that it was resumed.
  • There is no grade in which a panel keeps its last picture without updates. A suspended channel either keeps receiving or shows that it is suspended.
  • Neither grade closes the connection. A client is told it may return on the connection it holds, and never has to reconnect to ask.

The subject kinds a channel sees​

KindOn a channel
unit✅ every unit of the deployment
channel✅ its own
instance✅
plugin— a policy changing is an operator's decision
document— what the Core rejected or found in conflict
connection— who is attached to an administrative surface
  • A filter naming an excluded kind is accepted and matches nothing, as one naming a unit that does not exist does.
  • The narrowing is per channel, not per client. The same person on a browser channel and on an administrative connection sees the excluded kinds on the second only.