Get desktop application:
View/edit binary Protocol Buffers messages
Client calls CreateStream to learn about information to consume the stream.
Client need to call this to init a stream on server side.
InitStreamResponse pass back the streamID and the minOffset of the events on server side.
streamID is created by the server and will change when server restarts
min Offset of the event in the server side circular buffer
previous purgeOffset for the client, if there is any stored on the server the client can use previousPurgeOffset as the begin offset for the next WaitForEventsRequest
Wait for some task events.
Current streamID
The offeSet that the client has processed, which can be purged on the server
The begin offset of the intended data
The max number of events limit for current request
Timeout value
Name of the client
Error message for clients that are not expected by the server For now, the server only expects a list of pre-defined clients For example. Hostmgr would expect only Job manager / resource manager to consume the task update event stream.
Used in:
,Used in:
, ,offset is the sequence id of the event.
Describes the type of event.
Used in:
Used in:
Error message for incorrect purge offset
Used in:
Error message for clients that are not expected by the server
Used in:
The intended event offset is out of the event range on the server side
Used in:
Used in: