Repository navigation
Version 0.3.0
Pre-release
Pre-release
Added
- Added
EventStreamConsumerAPI.WatchEvents, a server-streaming method that delivers events of the requested message types as they are appended to any stream, for as long as the call is open. The first segment received for a stream tells the client that the stream exists and where the feed begins. - Added
EventStreamConsumerAPI.ReadEvents, which delivers the events of the requested message types from a single stream, from a given offset to the end of the stream, then closes. - Added
EventStreamSegment, the output of both methods. It describes the half-open range[begin_offset, end_offset)of one stream and carries the matching events within it.
Removed
- [BC] Removed
EventStreamConsumerAPI.ListEventStreams,ListEventStreamsRequest,ListEventStreamsResponseandEventStream. Streams are discovered from the segments delivered byWatchEvents. - [BC] Removed
EventStreamConsumerAPI.ConsumeEvents,ConsumeEventsRequestandConsumeEventsResponsein favor ofReadEvents. The server no longer closes a call when it believes it cannot produce new events of the requested types;ReadEventscloses when it reaches the end of the stream.