Skip to content

Implement ByteStream.QueryWriteStatus for LogStream resources

Adam Coldrick requested to merge sotk/logstream/block-on-querywritestatus into master

Description

This adds an implementation of ByteStream.QueryWriteStatus for LogStream resources. If the stream exists, this implementation blocks until there is at least one reader of the stream.

This allows writers to first make a QueryWriteStatus request to avoid needlessly sending log messages which aren't actually being read.

Issues addressed

Closes #304 (closed)

Merge request reports