[fix] throw error if required options are not passed into stream
[example] add documented example
[doc] add example to readme