Streamer trait defines the common interface of streaming clients.
Set the default network timeout for all connections.
Establish a connection to the streaming server. The
Streamer implementation does not have to maintain an open connection to the server.
Disconnect from the streaming server. The intention is to flush remaining messages and exit gracefully. You have to
await this operation until it completes. Once you called this method, all producers and consumers created will become unusable.
Create a producer that streams to the specified stream.
Create a producer that can stream to any stream.
Create a consumer subscribing to the specified streams.