To write an output adapter, you must subscribe to a stream.
Typically, you read the data being fed to a stream by a query module, process that data according to your application, and then send it to its final destination. For more information about streams, see Data Stream. For more information about adapters, see Adapters.
The file Example_01_GettingDataFromAStream.java contains source code demonstrating the basic steps you perform to subscribe to a data stream: