This section provides an example of subscribing to a stream, which is necessary for writing an output adapter.